From cdbc61b6e2eed34f1c19c20c080ccc86fd3532f8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 29 Jun 2005 19:49:19 +0000 Subject: [PATCH] Make sure /etc/rc.conf does not exist. Evil lurks within if it exists and gets held over from livecd. --- etc/rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/rc b/etc/rc index d591e08dde..428cc00db1 100755 --- a/etc/rc +++ b/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