diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 05:24:48 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 05:24:48 +0000 |
commit | 36ced816f9f6f836ef36b5f6b2196641ef180e45 (patch) | |
tree | f0bb0a99d71b623382bcb4ddab42528a150aeab9 /etc/rc | |
parent | 600f91eef8466d3c51ae85fc20cc00b708df915e (diff) | |
download | pfsense-36ced816f9f6f836ef36b5f6b2196641ef180e45.zip pfsense-36ced816f9f6f836ef36b5f6b2196641ef180e45.tar.gz |
* Remove debugging line
* Do not start rc.d items if cdrom platform
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -114,14 +114,13 @@ if [ ! "$PLATFORM" = "cdrom" ]; then /sbin/ldconfig -elf /usr/lib /usr/local/lib /lib fi -echo Mounting RW /usr/local/bin/php -f /etc/rc.conf_mount_rw # let the PHP-based configuration subsystem set up the system now /etc/rc.bootup echo -n Starting Secure Shell Services... -/etc/sshd +/etc/sshd 2>/dev/null echo -n "Starting USB... " /usr/sbin/usbd 2>>/tmp/bootup_messages @@ -129,14 +128,16 @@ echo "done." /usr/sbin/cron 2>>/tmp/bootup_messages -/etc/rc.packages +/etc/rc.packages 2>/dev/null -echo "Executing rc.d items... " -for FILE in /usr/local/etc/rc.d/*.sh; do - echo -n " Starting ${FILE}..." - sh $FILE >>/tmp/bootup_messages 2>&1 - echo "done." -done +if [ ! "$PLATFORM" = "cdrom" ]; then + echo "Executing rc.d items... " + for FILE in /usr/local/etc/rc.d/*.sh; do + echo -n " Starting ${FILE}..." + sh $FILE >>/tmp/bootup_messages 2>&1 + echo "done." + done +fi if [ -f /tmp/filter_boot_dirty ]; then # one more pass to give package plugins a chance to adjust |