diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-11 12:03:52 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-11 12:06:55 -0700 |
commit | 5f81609ab39a24952bb6ec09916ffdddc34308fb (patch) | |
tree | 8ed021b24ebde279c8ae25181b8c5812f110deb5 | |
parent | 998f77a81fd256a78f21e2af9a91be9bac1eb35e (diff) | |
download | pfsense-5f81609ab39a24952bb6ec09916ffdddc34308fb.zip pfsense-5f81609ab39a24952bb6ec09916ffdddc34308fb.tar.gz |
Fix console auto-login.
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
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(); |