comparison remote @ 23:048cd6e642bc stable-1-1

add better logging
author carl
date Sun, 08 Jan 2006 13:05:22 -0800
parents c6cff7a663b2
children 28fec0c67646
comparison
equal deleted inserted replaced
22:c6cff7a663b2 23:048cd6e642bc
24 me $i "cd /tmp/$NAME-$VER; make" 24 me $i "cd /tmp/$NAME-$VER; make"
25 me $i "cd /tmp/$NAME-$VER; make install" 25 me $i "cd /tmp/$NAME-$VER; make install"
26 me $i "/etc/rc.d/init.d/$NAME stop" 26 me $i "/etc/rc.d/init.d/$NAME stop"
27 me $i "/sbin/iptables -F INPUT" 27 me $i "/sbin/iptables -F INPUT"
28 me $i "cd /tmp/$NAME-$VER; make chkconfig" 28 me $i "cd /tmp/$NAME-$VER; make chkconfig"
29 if [ -f remote.$i ]; then
30 scp remote.$i $i:/etc/$NAME.conf
31 else
32 scp /etc/$NAME.conf $i:/etc/$NAME.conf
33 fi
34 me $i "ln --symbolic --force /etc/$NAME.conf /usr/local/etc/$NAME.conf" 29 me $i "ln --symbolic --force /etc/$NAME.conf /usr/local/etc/$NAME.conf"
35 me $i "/etc/rc.d/init.d/$NAME start" 30 me $i "/etc/rc.d/init.d/$NAME start"
36 31
37 echo " install done on $i, press enter to continue" 32 echo " install done on $i, press enter to continue"
38 read a 33 read a