summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc23
1 files changed, 12 insertions, 11 deletions
diff --git a/etc/rc b/etc/rc
index 8fea992..0a25c4c 100755
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud