diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-29 19:49:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-29 19:49:19 +0000 |
commit | cdbc61b6e2eed34f1c19c20c080ccc86fd3532f8 (patch) | |
tree | 98c1dd788fbd654d7f77231980617a7a8ed669ac | |
parent | 4b15759a2b4ad05092b96850797b271b0bce306e (diff) | |
download | pfsense-cdbc61b6e2eed34f1c19c20c080ccc86fd3532f8.zip pfsense-cdbc61b6e2eed34f1c19c20c080ccc86fd3532f8.tar.gz |
Make sure /etc/rc.conf does not exist. Evil lurks within if it exists and gets held over from livecd.
-rwxr-xr-x | etc/rc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |