mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Only chmod files if we are not on the CDROM platform.
This commit is contained in:
parent
4097120fa2
commit
4210bc05ec
5
etc/rc
5
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user