summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-01 13:37:42 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-01 13:37:42 -0300
commitedb4b65732d76810e5610bcece85571f13969fc0 (patch)
tree82477daac59a01793850182a401fb8d9899e4fa8 /etc/phpshellsessions
parent6f9a191d76aa837d727fe047c67aae5829fede16 (diff)
downloadpfsense-edb4b65732d76810e5610bcece85571f13969fc0.zip
pfsense-edb4b65732d76810e5610bcece85571f13969fc0.tar.gz
Fix #3647 and other improvements:
- Remove auto_login(), now gettytab is a constant file - Add reload_ttys(), that will send a SIGHUP to init and make it reload /etc/ttys - Change serial speed on /etc/ttys when necessary - Change console and serial auto_login on /etc/ttys when necessary - Change default type from cons25 to xterm
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/gitsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/phpshellsessions/gitsync b/etc/phpshellsessions/gitsync
index 58f5ba5..6c39006 100644
--- a/etc/phpshellsessions/gitsync
+++ b/etc/phpshellsessions/gitsync
@@ -393,7 +393,7 @@ function post_cvssync_commands() {
/* lock down console if necessary */
echo "===> Locking down the console if needed...\n";
- auto_login();
+ reload_ttys();
echo "===> Signaling PHP and Lighty restart...";
$fd = fopen("/tmp/restart_lighty", "w");
OpenPOWER on IntegriCloud