blob: 98fe66832ef8708e501ab68fefde5ed524583bc7 (
plain)
1
2
3
4
5
6
7
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
|