summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-20 20:18:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-20 20:18:09 +0000
commitce9e67cee13c86d35e1fbc2196798daf4314cc0b (patch)
treec0c054e751e6954051cda950eeeda0a34a963823 /etc/rc.bootup
parentb60f7708f3fdeeac6c1c6899a6022f3b0fa9953f (diff)
downloadpfsense-ce9e67cee13c86d35e1fbc2196798daf4314cc0b.zip
pfsense-ce9e67cee13c86d35e1fbc2196798daf4314cc0b.tar.gz
Lock console a bit different
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 84dc9a6..054c208 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -232,6 +232,10 @@
/* power down hard drive if needed/set */
system_set_harddisk_standby();
+ /* lock down console if necessary */
+ if(isset($config['system']['disableconsolemenu']))
+ touch("/var/etc/console_lockdown");
+
/* done */
unlink("{$g['varrun_path']}/booting");
$g['booting'] = FALSE;
OpenPOWER on IntegriCloud