summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-21 23:11:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-21 23:11:39 +0000
commit2ba5e33edecb7beaa5ddf057d253460f25cd2081 (patch)
treee49af244e7f5f4d75bbbef96d3b6a92bd97dd1f8 /usr
parent96af3ad5175dc5fc4bd7f815d131c254784ad744 (diff)
downloadpfsense-2ba5e33edecb7beaa5ddf057d253460f25cd2081.zip
pfsense-2ba5e33edecb7beaa5ddf057d253460f25cd2081.tar.gz
auto_login() has been moved to pfsense-utils.cin
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_advanced.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 44bb1b2..3e15ac9 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -614,26 +614,6 @@ if (($config['system']['webgui']['certificate'] != $oldcert)
touch("/tmp/restart_webgui");
}
-function auto_login($status) {
- $gettytab = file_get_contents("/etc/gettytab");
- $getty_split = split("\n", $gettytab);
- conf_mount_rw();
- $fd = fopen("/etc/gettytab", "w");
- foreach($getty_split as $gs) {
- if(stristr($gs, "cb:ce:ck:lc") == true) {
- if($status == true) {
- fwrite($fd, ":cb:ce:ck:lc:fd#1000:im=\\r\\n%s/%m (%h) (%t)\\r\\n\\r\\n:sp#1200:\\\n");
- } else {
- fwrite($fd, ":al=root:cb:ce:ck:lc:fd#1000:im=\\r\\n%s/%m (%h) (%t)\\r\\n\\r\\n:sp#1200:\\\n");
- }
- } else {
- fwrite($fd, "{$gs}\n");
- }
- }
- fclose($fd);
- conf_mount_ro();
-}
-
?>
</body>
</html>
OpenPOWER on IntegriCloud