From 4210bc05ecdd9e63f46976d70aaaa02ade595d91 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 15 Mar 2008 20:15:52 +0000 Subject: [PATCH] Only chmod files if we are not on the CDROM platform. --- etc/rc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etc/rc b/etc/rc index f27eef1ec0..c9d0898538 100755 --- a/etc/rc +++ b/etc/rc @@ -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