diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-18 20:19:20 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-18 20:19:20 -0400 |
commit | c676893ce877881251a520d6b43a3d2c29b93ea3 (patch) | |
tree | a95907ba484f8ce3d872ab0d3b92adcb0eaf6464 /etc/rc | |
parent | 77518fbf3d033cb713512c4770f9f35696a88934 (diff) | |
download | pfsense-c676893ce877881251a520d6b43a3d2c29b93ea3.zip pfsense-c676893ce877881251a520d6b43a3d2c29b93ea3.tar.gz |
Echo out data to start of log files
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -237,6 +237,18 @@ 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 + # Echo date to log files (start time) + /bin/date | /usr/sbin/fifolog_writer /var/log/system.log + /bin/date | /usr/sbin/fifolog_writer /var/log/filter.log + /bin/date | /usr/sbin/fifolog_writer /var/log/dhcpd.log + /bin/date | /usr/sbin/fifolog_writer /var/log/vpn.log + /bin/date | /usr/sbin/fifolog_writer /var/log/openvpn.log + /bin/date | /usr/sbin/fifolog_writer /var/log/portalauth.log + /bin/date | /usr/sbin/fifolog_writer /var/log/ipsec.log + /bin/date | /usr/sbin/fifolog_writer /var/log/relayd.log + /bin/date | /usr/sbin/fifolog_writer /var/log/lighttpd.log + /bin/date | /usr/sbin/fifolog_writer /var/log/ntpd.log + fi # 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 |