Add shorewall6-lite
[openwrt/svn-archive/archive.git] / ipv6 / shorewall6-lite / patches / 120-LOGFILE.patch
1 --- a/shorewall6-lite 2009-12-05 22:35:20.000000000 -0500
2 +++ b/shorewall6-lite 2009-12-05 22:35:27.000000000 -0500
3 @@ -95,7 +95,7 @@
4
5 if ( ps ax 2> /dev/null | grep -v grep | qt grep 'syslogd.*-C' ) ; then
6 LOGREAD="logread | tac"
7 - elif [ -f $LOGFILE ]; then
8 + elif [ -r $LOGFILE ]; then
9 LOGREAD="tac $LOGFILE"
10 else
11 echo "LOGFILE ($LOGFILE) does not exist!" >&2
12 --- a/shorewall6-lite.conf 2009-12-05 22:37:43.000000000 -0500
13 +++ b/shorewall6-lite.conf 2009-12-05 22:37:51.000000000 -0500
14 @@ -46,4 +46,6 @@
15
16 RESTOREFILE=
17
18 +LOGFILE=/dev/null
19 +
20 #LAST LINE -- DO NOT REMOVE