Mercurial > syslog2iptables
comparison remote @ 22:c6cff7a663b2
add better logging
author | carl |
---|---|
date | Sun, 08 Jan 2006 12:57:35 -0800 |
parents | 2342081106d9 |
children | 048cd6e642bc |
comparison
equal
deleted
inserted
replaced
21:2342081106d9 | 22:c6cff7a663b2 |
---|---|
15 web=/home/httpd/html/510sg/$NAME | 15 web=/home/httpd/html/510sg/$NAME |
16 GZ=$web/packages/$BALL | 16 GZ=$web/packages/$BALL |
17 | 17 |
18 t='ams ns1 mbmg' | 18 t='ams ns1 mbmg' |
19 for i in $t; do | 19 for i in $t; do |
20 echo " installing on $i" | |
20 scp $GZ $i:/tmp | 21 scp $GZ $i:/tmp |
21 me $i "cd /tmp; tar xfz $BALL" | 22 me $i "cd /tmp; tar xfz $BALL" |
22 me $i "cd /tmp/$NAME-$VER; ./configure" | 23 me $i "cd /tmp/$NAME-$VER; ./configure" |
23 me $i "cd /tmp/$NAME-$VER; make" | 24 me $i "cd /tmp/$NAME-$VER; make" |
24 me $i "cd /tmp/$NAME-$VER; make install" | 25 me $i "cd /tmp/$NAME-$VER; make install" |
30 else | 31 else |
31 scp /etc/$NAME.conf $i:/etc/$NAME.conf | 32 scp /etc/$NAME.conf $i:/etc/$NAME.conf |
32 fi | 33 fi |
33 me $i "ln --symbolic --force /etc/$NAME.conf /usr/local/etc/$NAME.conf" | 34 me $i "ln --symbolic --force /etc/$NAME.conf /usr/local/etc/$NAME.conf" |
34 me $i "/etc/rc.d/init.d/$NAME start" | 35 me $i "/etc/rc.d/init.d/$NAME start" |
36 | |
37 echo " install done on $i, press enter to continue" | |
38 read a | |
35 done | 39 done |