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:
Scott Ullrich 2005-06-29 19:49:19 +00:00
parent 4b15759a2b
commit cdbc61b6e2

5
etc/rc
View File

@ -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