diff remote @ 10:5dfe0138b4f9

initial coding
author carl
date Thu, 08 Dec 2005 13:58:08 -0800
parents d76f9ff42487
children 0d65c3de34fd
line wrap: on
line diff
--- a/remote	Sat Dec 03 13:54:47 2005 -0800
+++ b/remote	Thu Dec 08 13:58:08 2005 -0800
@@ -11,6 +11,7 @@
 n=syslog2iptables
 v=0.1
 t='ams ns1'
+t='mbmg'
 for i in $t; do
     scp $n*gz $i:/tmp
     me $i "cd /tmp; tar xfz $n*gz"
@@ -20,4 +21,7 @@
     me $i "/etc/rc.d/init.d/$n stop"
     me $i "/sbin/iptables -F INPUT"
     me $i "cd /tmp/$n-$v; make chkconfig"
+    if [ -f remote.$i ]; then
+        scp remote.$i $i:/etc/$n.conf
+    fi
 done