slackbuilds_ponce/network/argus/rc.argus.patch
Robby Workman 135174bdcb network/argus{-clients}: Moved (back) from Development category.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2010-11-29 12:45:55 +01:00

32 lines
963 B
Diff

--- support/Startup/argus.orig 2010-07-06 11:23:38.032000082 -0400
+++ support/Startup/argus 2010-07-06 11:27:15.466000084 -0400
@@ -43,17 +43,17 @@
fi
# Source networking configuration.
-. /etc/sysconfig/network
+#. /etc/sysconfig/network
# Check that networking is up.
-[ ${NETWORKING} = "no" ] && exit 1
+# [ ${NETWORKING} = "no" ] && exit 1
# Set argus path by defining $ARGUSHOME for this script.
# If argus was installed in another way, modify PATH to
# include the directory where the argus binary was installed.
-ARGUSDIR=/usr/local/sbin
+ARGUSDIR=/usr/sbin
ARGUSHOME=$ARGUSDIR
export PATH=$ARGUSHOME:$PATH
@@ -71,7 +71,7 @@
then
mkdir /var/log/argus
fi
- argus -de `hostname` -w /var/log/argus/argus.out \
+ argus -p -de `hostname` -w /var/log/argus/argus.out \
> /dev/null 2>&1
RETVAL=$?
else