diff options
author | Cecil <knoppmyth@gmail.com> | 2012-01-14 20:46:12 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-01-14 20:46:12 (GMT) |
commit | c321283760591e3c6e5d9ed415e9c422fee83d9e (patch) | |
tree | 4e482fdf514f477c7ac23e0da81ec82a51a53b39 /abs/core/LinHES-system/lh_system_all_host_update | |
parent | e9948fef7a06dbb6b0c53e50df10c0a0dc2d941b (diff) | |
parent | d5525acd5a4054460b98930b46d9de5690c1fd36 (diff) | |
download | linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.zip linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.tar.gz linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/LinHES-system/lh_system_all_host_update')
-rw-r--r-- | abs/core/LinHES-system/lh_system_all_host_update | 8 |
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 |