From 04701f45be2e9a5003b683b5abd1f1df95f98109 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 18 Jun 2005 02:00:48 +0000 Subject: If platform is cdrom invoke /usr/local/freesbieiso/etc/rc.d/freesbie_1st --- etc/rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/rc') 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 -- cgit v1.1