Nochmal einige CGI Aenderungen

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@630 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-06-14 20:02:21 +00:00
parent 4e17adadcd
commit c85ec3b463
3 changed files with 29 additions and 30 deletions

View File

@@ -118,13 +118,12 @@ case "${DO}" in
else
name=red /etc/rc.d/init.d/net/ifup
fi
boot_mesg "Setting OpenVPN Rules if enabled"
/etc/rc.d/init.d/firewall startovpn; evaluate_retval
fi
fi
boot_mesg "Setting OpenVPN Rules if enabled"
/etc/rc.d/init.d/firewall startovpn; evaluate_retval
boot_mesg "Starting SNORT if enabled"
boot_mesg "Starting Snort if enabled"
/etc/rc.d/init.d/snort start; evaluate_retval
;;
@@ -153,13 +152,12 @@ case "${DO}" in
if [ "$red" == "1" ]; then
if [ "$CONFIG_TYPE" = "1" -o "$CONFIG_TYPE" = "2" -o "$CONFIG_TYPE" = "3" -o "$CONFIG_TYPE" = "4" ]; then
name=red /etc/rc.d/init.d/net/ifdown
boot_mesg "Deleting OpenVPN Rules if enabled"
/etc/rc.d/init.d/firewall stopovpn; evaluate_retval
fi
fi
boot_mesg "Deleting OpenVPN Rules if enabled"
/etc/rc.d/init.d/firewall stopovpn; evaluate_retval
boot_mesg "Starting SNORT if enabled"
boot_mesg "Stopping Snort if enabled"
/etc/rc.d/init.d/snort stop; evaluate_retval
;;