diff options
| author | Kim <kim.sidney@gmail.com> | 2018-04-05 14:07:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-05 14:07:23 +0200 |
| commit | 9505422dbae1429267930d2a189f2cfe3afca426 (patch) | |
| tree | 3ea20413904459fdd860da1ffbb94a5dd37bd90c /scripts/system | |
| parent | 442f6015f6dc99c31bb799434ee20dd7168eb222 (diff) | |
| download | vyatta-cfg-system-9505422dbae1429267930d2a189f2cfe3afca426.tar.gz vyatta-cfg-system-9505422dbae1429267930d2a189f2cfe3afca426.zip | |
Do not restart tty, it will put you back at login screen.
Diffstat (limited to 'scripts/system')
| -rwxr-xr-x | scripts/system/vyatta_update_console.pl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/system/vyatta_update_console.pl b/scripts/system/vyatta_update_console.pl index 19937060..ff7c2df1 100755 --- a/scripts/system/vyatta_update_console.pl +++ b/scripts/system/vyatta_update_console.pl @@ -102,8 +102,6 @@ sub update_getty{ system("systemctl daemon-reload"); if ( system("systemctl status serial-getty\@$tty.service 2>&1 > /dev/null")) { system("systemctl start serial-getty\@$tty.service"); - } else { - system("systemctl restart serial-getty\@$tty.service"); } } } |
