diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 05:09:25 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 05:09:25 +0000 |
commit | ce823053e77388965fc1e4ae6ed896d7abf4703d (patch) | |
tree | 3751f15644df36087faf74d88f7972261b2943a4 /etc/rc | |
parent | aaea2643c560ff505375f4f551dc2a7e82113112 (diff) | |
download | pfsense-ce823053e77388965fc1e4ae6ed896d7abf4703d.zip pfsense-ce823053e77388965fc1e4ae6ed896d7abf4703d.tar.gz |
Setup memdisk for cdrom
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |