summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-18 02:00:48 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-18 02:00:48 +0000
commit04701f45be2e9a5003b683b5abd1f1df95f98109 (patch)
tree42cb03bb1bff825ebc9d9c688050459ec2e28aa9 /etc/rc
parent3b7974c4ea2b2184c4213356cffa1b923807ac22 (diff)
downloadpfsense-04701f45be2e9a5003b683b5abd1f1df95f98109.zip
pfsense-04701f45be2e9a5003b683b5abd1f1df95f98109.tar.gz
If platform is cdrom invoke /usr/local/freesbieiso/etc/rc.d/freesbie_1st
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index fcd7171..371bc18 100755
--- a/etc/rc
+++ b/etc/rc
@@ -34,6 +34,11 @@ SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1`
/usr/local/bin/php -f /etc/rc.conf_mount_rw
+platform=`cat /etc/platform`
+if [ "$PLATFORM" = "cdrom" ]; then
+ /usr/local/freesbieiso/etc/rc.d/freesbie_1st
+fi
+
# Repair symlinks if they are broken
if [ ! -L /etc/hosts ]; then
rm -rf /etc/hosts
OpenPOWER on IntegriCloud