]> git.pld-linux.org Git - packages/snort.git/blobdiff - snort.init
- release changed from 0.1 to 1, problems with arch x86_64 was fixed
[packages/snort.git] / snort.init
index 8ad8148efff980cea4468004e942541c1efaed7c..076229acbc5ccb4e368d542453f0fb355e154377 100644 (file)
@@ -18,7 +18,6 @@
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-               # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down snort
                exit 1
        fi
@@ -32,7 +31,6 @@ case "$1" in
   start)
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/snort ]; then
-               # show "Starting %s service." <service>
                msg_starting snort
                # we need full path here; see SnortUsersManual.pdf
                daemon  /usr/sbin/snort \
@@ -41,14 +39,12 @@ case "$1" in
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/snort
        else
-               # show "%s service is already running." <service>
                msg_already_running snort
        fi
        ;;
   stop)
        if [ -f /var/lock/subsys/snort ]; then
                # Stop daemons.
-               # show "Stopping %s service" <service>
                msg_stopping snort
                killproc snort
                rm -f /var/lock/subsys/snort
@@ -62,7 +58,6 @@ case "$1" in
                killproc snort -HUP
                RETVAL=$?
        else
-               # show "%s service is not running." <service>
                msg_not_running snort >&2
                exit 7
        fi
This page took 0.037519 seconds and 4 git commands to generate.