From edb4b65732d76810e5610bcece85571f13969fc0 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 1 Jul 2014 13:37:42 -0300 Subject: 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 --- etc/phpshellsessions/gitsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/phpshellsessions/gitsync') 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"); -- cgit v1.1