diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-19 17:35:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-19 17:35:17 +0000 |
commit | b5d8089aad0875f6800481791931e9a6f466a789 (patch) | |
tree | 4a7672a68b83c603427eeea1866796ebb21e7860 | |
parent | 17f17002d70d70b8b448bc37efb3a510fee947ae (diff) | |
download | pfsense-b5d8089aad0875f6800481791931e9a6f466a789.zip pfsense-b5d8089aad0875f6800481791931e9a6f466a789.tar.gz |
Correctly enable / disable console lockout.
Ticket #920
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index aceac63..ee116a4 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1707,7 +1707,7 @@ function auto_login($status) { conf_mount_rw(); $fd = fopen("/etc/gettytab", "w"); foreach($getty_split as $gs) { - if(stristr($gs, "\:ht\:np\:sp\#115200") == true) { + if(stristr($gs, ":ht:np:sp#115200") ) { if($status == true) { fwrite($fd, " :ht:np:sp#115200:al=root:\n"); } else { |