diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-03-15 20:15:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-03-15 20:15:52 +0000 |
commit | 4210bc05ecdd9e63f46976d70aaaa02ade595d91 (patch) | |
tree | 604ca14d6096b8674e543e9a8270e11dfe806f35 /etc/rc | |
parent | 4097120fa2b9d5e9873f7d51d87caaf7047250c3 (diff) | |
download | pfsense-4210bc05ecdd9e63f46976d70aaaa02ade595d91.zip pfsense-4210bc05ecdd9e63f46976d70aaaa02ade595d91.tar.gz |
Only chmod files if we are not on the CDROM platform.
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -181,11 +181,10 @@ if [ ! "$PLATFORM" = "cdrom" ]; then clog -i -s 65535 /var/log/lighttpd.log clog -i -s 65535 /var/log/ntpd.log fi + # change permissions on newly created clog 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/slbd.log fi -# change permissions on newly created clog 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/slbd.log - echo -n "." DEVFS=`mount | grep devfs | wc -l | cut -d" " -f8` if [ "$DEVFS" = "0" ]; then |