More stupid init script fixes
parent
efdc254b36
commit
757b19e839
|
@ -12,19 +12,18 @@
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
FIREWALL_START=/etc/firewall-sosdg/bin/firewall-sosdg
|
FIREWALL_CMD=/etc/firewall-sosdg/bin/firewall-sosdg
|
||||||
FIREWALL_STOP=/etc/firewall-sosdg/stop-firewall
|
|
||||||
. /lib/lsb/init-functions
|
. /lib/lsb/init-functions
|
||||||
|
|
||||||
case "${1:-}" in
|
case "${1:-}" in
|
||||||
start)
|
start)
|
||||||
log_begin_msg "Starting Firewall/SOSDG..."
|
log_begin_msg "Starting Firewall/SOSDG..."
|
||||||
$FIREWALL_START
|
$FIREWALL_CMD
|
||||||
log_end_msg $?
|
log_end_msg $?
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
log_begin_msg "Stopping Firewall/SOSDG..."
|
log_begin_msg "Stopping Firewall/SOSDG..."
|
||||||
$FIREWALL_STOP
|
$FIREWALL_CMD --flush
|
||||||
log_end_msg $?
|
log_end_msg $?
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue