summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/MythVantage-system/update_system_all
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/MythVantage-system/update_system_all')
-rwxr-xr-xabs/mv-core/MythVantage-system/update_system_all10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/mv-core/MythVantage-system/update_system_all b/abs/mv-core/MythVantage-system/update_system_all
new file mode 100755
index 0000000..26205bd
--- /dev/null
+++ b/abs/mv-core/MythVantage-system/update_system_all
@@ -0,0 +1,10 @@
+#!/bin/bash
+results=`cat /data/srv/hobbit/server/etc/bb-hosts|grep -v ^#|awk '{print $2}' `
+#echo $results
+for i in $results
+do
+ echo "$i"
+ echo "-------------------------------------------"
+ sudo /usr/bin/func $i call pacman update_system $1
+ ssh -o StrictHostKeyChecking=no -i /data/srv/.nobody_ssh/id_dsa mythtv@$i "sudo /usr/bin/update_system $1"
+done