summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-03-15 19:00:47 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-03-15 19:01:07 -0400
commit57ecd9b6c79b8755654fd192e4e3cc6d1ec6ade3 (patch)
tree17b32aca06ffc1bcc11cc49cf1747babb6f8b8ba /etc/rc
parent57dc2556889679a840ca50e9a08ced740428b934 (diff)
downloadpfsense-57ecd9b6c79b8755654fd192e4e3cc6d1ec6ade3.zip
pfsense-57ecd9b6c79b8755654fd192e4e3cc6d1ec6ade3.tar.gz
Jettison clog and replace with fifolog which is included in FreeBSD 7.1
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc22
1 files changed, 11 insertions, 11 deletions
diff --git a/etc/rc b/etc/rc
index ef9250e..d064d2f 100755
--- a/etc/rc
+++ b/etc/rc
@@ -217,18 +217,18 @@ if [ "$DISABLESYSLOGCLOG" -gt "0" ]; then
touch /var/log/ntpd.log
else
# generate circular logfiles
- clog -i -s 512144 /var/log/system.log
- clog -i -s 512144 /var/log/filter.log
- clog -i -s 65535 /var/log/dhcpd.log
- clog -i -s 65535 /var/log/vpn.log
- clog -i -s 65535 /var/log/openvpn.log
- clog -i -s 65535 /var/log/portalauth.log
- clog -i -s 65535 /var/log/ipsec.log
- clog -i -s 65535 /var/log/relayd.log
- clog -i -s 65535 /var/log/lighttpd.log
- clog -i -s 65535 /var/log/ntpd.log
+ fifolog_create -s 512144 /var/log/system.log
+ fifolog_create -s 512144 /var/log/filter.log
+ fifolog_create -s 65535 /var/log/dhcpd.log
+ fifolog_create -s 65535 /var/log/vpn.log
+ fifolog_create -s 65535 /var/log/openvpn.log
+ fifolog_create -s 65535 /var/log/portalauth.log
+ fifolog_create -s 65535 /var/log/ipsec.log
+ fifolog_create -s 65535 /var/log/relayd.log
+ fifolog_create -s 65535 /var/log/lighttpd.log
+ fifolog_create -s 65535 /var/log/ntpd.log
fi
-# change permissions on newly created clog files.
+# change permissions on newly created fifolog files.
chmod 0600 /var/log/system.log /var/log/filter.log /var/log/dhcpd.log /var/log/vpn.log /var/log/portalauth.log /var/log/relayd.log
echo -n "."
OpenPOWER on IntegriCloud