6 # Check that networking is up
7 if ck_daemon network
; then
8 echo "Cannot run gshield without network -run network first"
13 stat_busy
"Loading gShield network firewall"
14 /usr
/share
/gshield
/gShield.rc start
> /dev
/null
15 # check that it loaded
16 iptables
-L DMZ
> /dev
/null
2>&1
25 stat_busy
"Unloading gShield network firewall"
26 /usr
/share
/gshield
/gShield.rc stop
> /dev
/null
27 # check that it unloaded
28 if iptables
-L DMZ
> /dev
/null
2>&1 ; then
48 echo "Usage: gshield {start|stop|restart}"