summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-07-24 02:02:54 -0400
committerChris Buechler <cmb@pfsense.org>2010-07-24 02:02:54 -0400
commitb1f4d7d4150fd7cd6fb7f627670c270b03f69ed3 (patch)
treedd1aeacf4891139dd6e1ff3e99cdcf34ac084fb0 /etc
parent8aa09d6d344bbad31a21cf62cf618ec77182b6a5 (diff)
downloadpfsense-b1f4d7d4150fd7cd6fb7f627670c270b03f69ed3.zip
pfsense-b1f4d7d4150fd7cd6fb7f627670c270b03f69ed3.tar.gz
add apinger.log here too to silence error at boot
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index c878145..6f3e28c 100755
--- a/etc/rc
+++ b/etc/rc
@@ -245,6 +245,7 @@ if [ "$DISABLESYSLOGCLOG" -gt "0" ]; then
touch /var/log/relayd.log
touch /var/log/lighttpd.log
touch /var/log/ntpd.log
+ touch /var/log/apinger.log
else
ENABLEFIFOLOG=`cat /cf/conf/config.xml | grep usefifolog | wc -l | awk '{ print $1 }'`
if [ "$ENABLEFIFOLOG" -gt "0" ]; then
@@ -263,6 +264,7 @@ else
/usr/sbin/fifolog_create -s 50688 /var/log/relayd.log
/usr/sbin/fifolog_create -s 50688 /var/log/lighttpd.log
/usr/sbin/fifolog_create -s 50688 /var/log/ntpd.log
+ /usr/sbin/fifolog_create -s 50688 /var/log/apinger.log
else
/usr/sbin/clog -i -s 512144 /var/log/system.log
/usr/sbin/clog -i -s 512144 /var/log/filter.log
@@ -278,7 +280,8 @@ else
/usr/sbin/clog -i -s 65535 /var/log/slbd.log
/usr/sbin/clog -i -s 65535 /var/log/lighttpd.log
/usr/sbin/clog -i -s 65535 /var/log/ntpd.log
- /usr/sbin/clog -i -s 65535 /var/log/relayd.log
+ /usr/sbin/clog -i -s 65535 /var/log/relayd.log
+ /usr/sbin/clog -i -s 65535 /var/log/apinger.log
fi
fi
# change permissions on newly created fifolog files.
OpenPOWER on IntegriCloud