summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-01 23:06:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-01 23:06:23 +0000
commit0b6163bdf9e8e25a93ebf73e5c94b1d84389c5b5 (patch)
tree09803d9cb548bfd9f421e1bf03abf65453d024d5 /etc/rc.initial
parenta6fac06e9b1c8d0566a192379eb9d41e330cee1f (diff)
downloadpfsense-0b6163bdf9e8e25a93ebf73e5c94b1d84389c5b5.zip
pfsense-0b6163bdf9e8e25a93ebf73e5c94b1d84389c5b5.tar.gz
Add script that aides in creating a config.xml file on a removable device. Note that this is not fully working just yet.
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 6a27f66..0a20c69 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -42,6 +42,9 @@ echo " 7) Ping host"
echo " 8) Shell"
echo " 9) PFtop"
echo "10) Traffic Logs"
+if [ -f /capable_* ]; then
+ echo "98) "
+fi
if [ "$PLATFORM" = "cdrom" ]; then
echo "99) Install pfSense to a hard drive/memory drive, etc."
@@ -88,9 +91,12 @@ case ${opmode} in
10)
/usr/sbin/tcpdump -n -e -ttt -i pflog0
;;
-99)
+98)
/scripts/lua_installer
;;
+99)
+ /etc/rc.store_config_to_removable_device
+ ;;
100)
if grep "$WORD" "$CONFIG"
then
OpenPOWER on IntegriCloud