diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-26 20:05:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-26 20:05:24 +0000 |
commit | 1c44a77db88864557b2fea0061771dea8c107cce (patch) | |
tree | ec46b5ff13dfe65d4479136400ecbf6b8703f2cf /etc/rc | |
parent | c4e3f59fcd363717be4d953d49f1e57f2753eb0d (diff) | |
download | pfsense-1c44a77db88864557b2fea0061771dea8c107cce.zip pfsense-1c44a77db88864557b2fea0061771dea8c107cce.tar.gz |
Output welcome message after various items are mounted (so we have grep)
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -15,23 +15,15 @@ #trap : 2 #trap : 3 -# Set our operating platform -PLATFORM=`cat /etc/platform` - HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin export HOME PATH +# Set our operating platform +PLATFORM=`cat /etc/platform` + # Set our current version version=`cat /etc/version` -product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4` - -echo -cat /etc/ascii-art/pfsense-logo-small.txt -echo -echo -echo "Welcome to ${product} ${version} on the '${PLATFORM}' platform..." -echo if [ "$PLATFORM" = "cdrom" ]; then /etc/rc.cdrom @@ -45,6 +37,15 @@ if [ "$PLATFORM" = "pfSense" ]; then mdmfs -S -M -s 2m md /var/run fi +product=`cat /etc/inc/globals.inc | grep product_name | cut -d'"' -f4` + +echo +cat /etc/ascii-art/pfsense-logo-small.txt +echo +echo +echo "Welcome to ${product} ${version} on the '${PLATFORM}' platform..." +echo + # Enable console output if its muted. /sbin/conscontrol mute off >/dev/null |