Changes of Revision 17
[-] [+] | Changed | blocksshd.spec |
[-] [+] | Changed | blocksshd.sysconfig ^ |
@@ -2,6 +2,7 @@ function bsshd_startup { sleep 2 + iptables -N `grep chain /etc/blocksshd.conf | awk -F\' '{print $2}'` iptables -A INPUT -j `grep chain /etc/blocksshd.conf | awk -F\' '{print $2}'` } @@ -17,10 +18,10 @@ # e.g. iptables -A INPUT -j blocksshd # STARTCMD="bsshd_startup" -STARTCMD="" +STARTCMD="bsshd_startup" # stop # set all chains to accept, flush chains , remove extra chains # STOPCMD="bsshd_shutdown" -STOPCMD="" +STOPCMD="bsshd_shutdown" |