summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-03-11 12:03:52 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-03-11 12:06:55 -0700
commit5f81609ab39a24952bb6ec09916ffdddc34308fb (patch)
tree8ed021b24ebde279c8ae25181b8c5812f110deb5 /etc
parent998f77a81fd256a78f21e2af9a91be9bac1eb35e (diff)
downloadpfsense-5f81609ab39a24952bb6ec09916ffdddc34308fb.zip
pfsense-5f81609ab39a24952bb6ec09916ffdddc34308fb.tar.gz
Fix console auto-login.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a80cbe9..3aeb77e 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1008,8 +1008,10 @@ function auto_login() {
global $config;
if(isset($config['system']['disableconsolemenu']))
- return;
-
+ $status = false;
+ else
+ $status = true;
+
$gettytab = file_get_contents("/etc/gettytab");
$getty_split = split("\n", $gettytab);
conf_mount_rw();
OpenPOWER on IntegriCloud