diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-31 04:48:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-31 04:48:05 +0000 |
commit | 3f38f066195ef0bb97372995cec4f7953c5c05ff (patch) | |
tree | bb34c516a1d49e2810aaaf69e3cccfeca879632c /etc | |
parent | 697a899165a835db8eb131d6d2b2f518d6e82461 (diff) | |
download | pfsense-3f38f066195ef0bb97372995cec4f7953c5c05ff.zip pfsense-3f38f066195ef0bb97372995cec4f7953c5c05ff.tar.gz |
Pretty up boot process.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -16,8 +16,10 @@ HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin export HOME PATH +version=`cat /etc/version` + echo -echo "Starting pfSense ..." +echo "Welcome to pfSense ${version} ..." echo /sbin/mount -a || fsck -y && mount -a @@ -75,30 +77,35 @@ cd /var/run && cp /dev/null utmp && chmod 644 utmp /usr/local/bin/php -f /etc/rc.conf_mount_rw -echo Starting Secure Shell Services... +echo -n Starting Secure Shell Services... /etc/sshd -echo Starting USB... +echo -n "Starting USB..." /usr/sbin/usbd 2>>/tmp/bootup_messages +echo Done. /usr/sbin/cron 2>>/tmp/bootup_messages -echo Syncing package configurations... +echo -n "Syncing package configurations..." /etc/rc.packages +echo Done. -echo Executing rc.d items... +echo "Executing rc.d items..." for FILE in /usr/local/etc/rc.d/*.sh; do if [ -e $FILE ]; then - echo "Starting ${FILE}..." + echo -n " Starting ${FILE}..." sh $FILE >>/tmp/bootup_messages 2>&1 + echo "Done." fi done # one more pass to give package plugins a chance to adjust -echo Final firewall setup in progress... +echo -n "Final firewall setup in progress..." /etc/rc.filter_configure +echo "Done." /usr/local/bin/php -f /etc/rc.conf_mount_ro -exit 0 +echo "Bootup complete" +exit 0
\ No newline at end of file |