mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make sure /etc/rc.conf does not exist. Evil lurks within if it exists and gets held over from livecd.
This commit is contained in:
parent
4b15759a2b
commit
cdbc61b6e2
5
etc/rc
5
etc/rc
@ -106,6 +106,11 @@ cd /var/run && cp /dev/null utmp && chmod 644 utmp
|
||||
|
||||
/usr/local/bin/php -f /etc/rc.conf_mount_rw
|
||||
|
||||
# Make sure /etc/rc.conf doesn't exist.
|
||||
if [ -f /etc/rc.conf ]; then
|
||||
rm -rf /etc/rc.conf
|
||||
fi
|
||||
|
||||
# let the PHP-based configuration subsystem set up the system now
|
||||
/etc/rc.bootup
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user