IDS Rules wieder aktiviert

OpenVPN Start/Stop on boot/shutdown


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@721 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-07-26 17:17:06 +00:00
parent 7c4cc0d87b
commit 3ffee04be9
4 changed files with 214 additions and 149 deletions

View File

@@ -123,6 +123,9 @@ case "${DO}" in
fi
fi
boot_mesg "Setting OpenVPN if enabled"
/usr/local/bin/openvpnctrl -s; evaluate_retval
boot_mesg "Starting Snort if enabled"
/etc/rc.d/init.d/snort start; evaluate_retval
;;
@@ -157,6 +160,9 @@ case "${DO}" in
fi
fi
boot_mesg "Stopping OpenVPN if enabled"
/usr/local/bin/openvpnctrl -k; evaluate_retval
boot_mesg "Stopping Snort if enabled"
/etc/rc.d/init.d/snort stop; evaluate_retval
;;