packages/ipv6/shorewall6-lite/patches/120-LOGFILE.patch
nbd c311bf8c4a Add shorewall6-lite
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 02:09:15 +00:00

21 lines
599 B
Diff

--- a/shorewall6-lite 2009-12-05 22:35:20.000000000 -0500
+++ b/shorewall6-lite 2009-12-05 22:35:27.000000000 -0500
@@ -95,7 +95,7 @@
if ( ps ax 2> /dev/null | grep -v grep | qt grep 'syslogd.*-C' ) ; then
LOGREAD="logread | tac"
- elif [ -f $LOGFILE ]; then
+ elif [ -r $LOGFILE ]; then
LOGREAD="tac $LOGFILE"
else
echo "LOGFILE ($LOGFILE) does not exist!" >&2
--- a/shorewall6-lite.conf 2009-12-05 22:37:43.000000000 -0500
+++ b/shorewall6-lite.conf 2009-12-05 22:37:51.000000000 -0500
@@ -46,4 +46,6 @@
RESTOREFILE=
+LOGFILE=/dev/null
+
#LAST LINE -- DO NOT REMOVE