summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-18 05:09:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-18 05:09:25 +0000
commitce823053e77388965fc1e4ae6ed896d7abf4703d (patch)
tree3751f15644df36087faf74d88f7972261b2943a4 /etc/rc
parentaaea2643c560ff505375f4f551dc2a7e82113112 (diff)
downloadpfsense-ce823053e77388965fc1e4ae6ed896d7abf4703d.zip
pfsense-ce823053e77388965fc1e4ae6ed896d7abf4703d.tar.gz
Setup memdisk for cdrom
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc12
1 files changed, 9 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index f7b3471..58b506f 100755
--- a/etc/rc
+++ b/etc/rc
@@ -7,14 +7,14 @@
# Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
# All rights reserved.
-stty status '^T'
-stty susp '^-' intr '^-' quit '^-'
+/bin/stty status '^T'
+/bin/stty susp '^-' intr '^-' quit '^-'
trap : 2
trap : 3
HOME=/
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
export HOME PATH
# Set our current version
@@ -24,7 +24,13 @@ version=`cat /etc/version`
PLATFORM=`cat /etc/platform`
if [ "$PLATFORM" = "cdrom" ]; then
+ echo md /tmp mfs rw,-s16m 1 \
+ 0 >> /etc/fstab
+ rm -rf /tmp
+ mkdir -p /tmp
/etc/rc.d/freesbie_1st
+ echo "Launching pfi... Please wait..."
+ /bin/shsh /scripts/pfi
fi
echo
OpenPOWER on IntegriCloud