diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-07-20 16:46:59 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-07-20 16:46:59 -0400 |
commit | 7fcef70f1caf46c9277a48700c582ece0a3acd19 (patch) | |
tree | 91f54c2e0e63f0b55c24489974adb00cc42f1e2b | |
parent | bec014bc25184feb8c0bdc7d5272c33f67227782 (diff) | |
download | pfsense-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-x | etc/rc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |