summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-13 21:21:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-13 21:21:56 +0000
commit916c50019bb2bf3116f023fd5933f236598c5fd7 (patch)
tree2e7188ccb9f68fdac5c8f973f1f46cfbef4616de /etc/rc.initial
parent5813dd60bf0985aebbfea590375fe16438070326 (diff)
downloadpfsense-916c50019bb2bf3116f023fd5933f236598c5fd7.zip
pfsense-916c50019bb2bf3116f023fd5933f236598c5fd7.tar.gz
Remote last_term_seen variable. It's not in use and was debugging only.
While here, cleanup the identing mess.
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial61
1 files changed, 27 insertions, 34 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 31e72db..1c92821 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -41,12 +41,6 @@ fi
CONFIG="/cf/conf/config.xml"
WORD="https"
-# Document which terminal launched last
-# so we can attempt to track down the
-# rc.initial respawn issues.
-echo `tty` > /tmp/last_term_seen
-chmod a+rw /tmp/last_term_seen
-
# Set our operating platform
PLATFORM=`cat /etc/platform`
@@ -129,46 +123,45 @@ case ${opmode} in
/usr/local/sbin/pftop
;;
10)
- /usr/sbin/tcpdump -n -e -ttt -i pflog0
- ;;
+ /usr/sbin/tcpdump -n -e -ttt -i pflog0
+ ;;
11)
- /etc/rc.restart_webgui
- ;;
+ /etc/rc.restart_webgui
+ ;;
12)
- /usr/local/sbin/pfSsh.php
- ;;
+ /usr/local/sbin/pfSsh.php
+ ;;
13)
- php -f /etc/rc.initial.firmware_update
- ;;
+ php -f /etc/rc.initial.firmware_update
+ ;;
14)
php -f /etc/rc.initial.toggle_sshd
;;
15)
- /etc/rc.banner
- ;;
+ /etc/rc.banner
+ ;;
98)
- if [ ! -f /tmp/config_moved ]; then
- /etc/rc.initial.store_config_to_removable_device
- fi
- ;;
+ if [ ! -f /tmp/config_moved ]; then
+ /etc/rc.initial.store_config_to_removable_device
+ fi
+ ;;
99)
- if [ -e /dev/ukbd0 ]; then
- env TERM=cons25 /scripts/lua_installer
- else
- /scripts/lua_installer
- fi
- ;;
+ if [ -e /dev/ukbd0 ]; then
+ env TERM=cons25 /scripts/lua_installer
+ else
+ /scripts/lua_installer
+ fi
+ ;;
100)
- if grep "$WORD" "$CONFIG"
- then
- links "https://localhost"
- else
- links "http://localhost"
- fi
- ;;
+ if grep "$WORD" "$CONFIG"; then
+ links "https://localhost"
+ else
+ links "http://localhost"
+ fi
+ ;;
"")
killall login ; exit
- ;;
+ ;;
esac
done
OpenPOWER on IntegriCloud