diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 03:18:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 03:18:39 +0000 |
commit | c268f10f14ac38690cba40becac3c34e225ac0dc (patch) | |
tree | 049239b4df265c78e9deb82ba89c4d1e0d723b63 /etc/rc | |
parent | 3d8b316bba44ece2b487269ac6febee01435853f (diff) | |
download | pfsense-c268f10f14ac38690cba40becac3c34e225ac0dc.zip pfsense-c268f10f14ac38690cba40becac3c34e225ac0dc.tar.gz |
Do not run ldconfig if platform is cdrom
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -32,7 +32,6 @@ SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1` PLATFORM=`cat /etc/platform` if [ "$PLATFORM" = "cdrom" ]; then - echo ">>> Starting freesbie_1st ..." /etc/rc.d/freesbie_1st fi @@ -93,17 +92,17 @@ echo -n "Syncing master.passwd... " echo "done." # Create an initial utmp file -echo 1 cd /var/run && cp /dev/null utmp && chmod 644 utmp # Build devices database #dev_mkdb -echo 2 -# Run ldconfig -/sbin/ldconfig -elf /usr/lib /usr/local/lib /lib -echo 3 +if [ ! "$PLATFORM" = "cdrom" ]; then + # Run ldconfig + /sbin/ldconfig -elf /usr/lib /usr/local/lib /lib +fi + echo Mounting RW /usr/local/bin/php -f /etc/rc.conf_mount_rw |