Mercurial > syslog2iptables
comparison remote @ 21:2342081106d9
add better logging
author | carl |
---|---|
date | Sun, 08 Jan 2006 12:51:35 -0800 |
parents | 0d65c3de34fd |
children | c6cff7a663b2 |
comparison
equal
deleted
inserted
replaced
20:0d65c3de34fd | 21:2342081106d9 |
---|---|
28 if [ -f remote.$i ]; then | 28 if [ -f remote.$i ]; then |
29 scp remote.$i $i:/etc/$NAME.conf | 29 scp remote.$i $i:/etc/$NAME.conf |
30 else | 30 else |
31 scp /etc/$NAME.conf $i:/etc/$NAME.conf | 31 scp /etc/$NAME.conf $i:/etc/$NAME.conf |
32 fi | 32 fi |
33 me $i "ln --symbolic --force /etc/$NAME.conf /usr/local/etc/$NAME.conf" | |
33 me $i "/etc/rc.d/init.d/$NAME start" | 34 me $i "/etc/rc.d/init.d/$NAME start" |
34 done | 35 done |