aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorLars Kruse <devel@sumpfralle.de>2020-04-19 14:26:55 +0200
committerLars Kruse <devel@sumpfralle.de>2020-04-19 14:30:01 +0200
commitb48b1449789579cab72f51328415755f10ce1a40 (patch)
treef667e001134f0c713d58dbd1b43d4b2e6fb53012 /admin
parent4bddd3de87a36bd618565ad00b77272c1312efc3 (diff)
muninlite: remove patch "hostname"
Since muninlite 2.0 the unpatched upstream also uses /proc/sys/kernel/hostname. Thus the patch is not necessary anymore. Signed-off-by: Lars Kruse <devel@sumpfralle.de>
Diffstat (limited to 'admin')
-rw-r--r--admin/muninlite/patches/002-hostname.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/admin/muninlite/patches/002-hostname.patch b/admin/muninlite/patches/002-hostname.patch
deleted file mode 100644
index a23284379..000000000
--- a/admin/muninlite/patches/002-hostname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/muninlite.in
-+++ b/muninlite.in
-@@ -113,7 +113,7 @@ PLUGINS=$RES
-
- # ===== MAIN LOOP =====
- FUNCTIONS="list nodes config fetch version quit"
--HOSTNAME=$( { hostname -f || hostname || cat /proc/sys/kernel/hostname || echo "unknown"; } 2>/dev/null )
-+HOSTNAME=$(/sbin/uci get "system.@system[0].hostname" 2>/dev/null || cat /proc/sys/kernel/hostname)
- echo "# munin node at $HOSTNAME"
- while read -r arg0 arg1
- do