summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-19 00:22:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-19 00:22:25 +0000
commitc0c27851f7b0dc0d90f6e02235e98c7e3e409244 (patch)
tree930639791734786b6d9881dcd4d6a22739c4f155 /etc/rc.initial
parent236391d79410eeab0a2359cf0ac3fae7275d6289 (diff)
downloadpfsense-c0c27851f7b0dc0d90f6e02235e98c7e3e409244.zip
pfsense-c0c27851f7b0dc0d90f6e02235e98c7e3e409244.tar.gz
Add menu option for BSD Installer if platform is cdrom
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 2f36fef..abe275f 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -15,6 +15,9 @@ trap : 2
trap : 3
trap : 4
+# Set our operating platform
+PLATFORM=`cat /etc/platform`
+
if [ -r /var/etc/disableconsole ]; then
while : ; do
@@ -50,6 +53,7 @@ echo " 8) Shell"
echo " 9) PFtop"
echo "10) Traffic Logs"
echo
+[ "$PLATFORM" = "cdrom" ] || echo "installer) Install pfSense to your hard drive"
read -p "Enter a number: " opmode
echo
OpenPOWER on IntegriCloud