summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-19 17:35:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-19 17:35:17 +0000
commitb5d8089aad0875f6800481791931e9a6f466a789 (patch)
tree4a7672a68b83c603427eeea1866796ebb21e7860
parent17f17002d70d70b8b448bc37efb3a510fee947ae (diff)
downloadpfsense-b5d8089aad0875f6800481791931e9a6f466a789.zip
pfsense-b5d8089aad0875f6800481791931e9a6f466a789.tar.gz
Correctly enable / disable console lockout.
Ticket #920
-rw-r--r--etc/inc/pfsense-utils.inc2
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 {
OpenPOWER on IntegriCloud