summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-02 15:37:22 -0500
committersullrich <sullrich@pfsense.org>2009-12-02 15:37:47 -0500
commit7ef2b26090d642aec398f18e8b5c61093ffa6341 (patch)
tree3ba380c706b6b8b46e66f460da3ced31e6300f38 /etc/rc.bootup
parent6e5eadf8c9b718903e82cb4653f784f94c4aacd1 (diff)
downloadpfsense-7ef2b26090d642aec398f18e8b5c61093ffa6341.zip
pfsense-7ef2b26090d642aec398f18e8b5c61093ffa6341.tar.gz
Unbreak console lockout on bootup and in gitsync (pfSsh.php) Resolves #195
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index b60daab..ba08aad 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -307,8 +307,11 @@ services_snmpd_configure();
system_set_harddisk_standby();
/* lock down console if necessary */
-if(isset($config['system']['disableconsolemenu']))
- touch("/var/etc/console_lockdown");
+if(isset($config['system']['disableconsolemenu'])) {
+ auto_login(false);
+} else {
+ auto_login(true);
+}
/* Run a filter configure now that most all services have started */
filter_configure_sync();
OpenPOWER on IntegriCloud