summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/lh_system_all_host_update
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-system/lh_system_all_host_update')
-rw-r--r--abs/core/LinHES-system/lh_system_all_host_update8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/LinHES-system/lh_system_all_host_update b/abs/core/LinHES-system/lh_system_all_host_update
new file mode 100644
index 0000000..98fe668
--- /dev/null
+++ b/abs/core/LinHES-system/lh_system_all_host_update
@@ -0,0 +1,8 @@
+#!/bin/bash
+results=`cat /data/srv/xymon/server/etc/hosts.cfg|grep -v ^#|awk '{print $2}' `
+for i in $results
+do
+ echo "$i"
+ echo "-------------------------------------------"
+ sudo /usr/bin/func $i call pacman update_system $1
+done