summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-07-20 16:46:59 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-07-20 16:46:59 -0400
commit7fcef70f1caf46c9277a48700c582ece0a3acd19 (patch)
tree91f54c2e0e63f0b55c24489974adb00cc42f1e2b
parentbec014bc25184feb8c0bdc7d5272c33f67227782 (diff)
downloadpfsense-7fcef70f1caf46c9277a48700c582ece0a3acd19.zip
pfsense-7fcef70f1caf46c9277a48700c582ece0a3acd19.tar.gz
Ensure /var/log/apinger.log exists to avoid errors such as: Starting syslog...May 3 13:09:50 syslogd: /var/log/apinger.log: No such file or directory
-rwxr-xr-xetc/rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 649b046..650a0d1 100755
--- a/etc/rc
+++ b/etc/rc
@@ -194,6 +194,7 @@ if [ ! "$PLATFORM" = "cdrom" ]; then
clog -i -s 65535 /var/log/slbd.log
clog -i -s 65535 /var/log/lighttpd.log
clog -i -s 65535 /var/log/ntpd.log
+ clog -i -s 65535 /var/log/apinger.log
else
clog -i -s 65535 /var/log/system.log
clog -i -s 65535 /var/log/filter.log
@@ -204,6 +205,7 @@ else
clog -i -s 65535 /var/log/ipsec.log
clog -i -s 65535 /var/log/slbd.log
clog -i -s 65535 /var/log/ntpd.log
+ clog -i -s 65535 /var/log/apinger.log
fi
# change permissions on newly created clog files.
OpenPOWER on IntegriCloud