diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-05-16 08:19:37 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-05-16 08:19:37 +0200 |
commit | c344f10e0b9dca8bc22c4b5fbe072909ad29ade0 (patch) | |
tree | 797f3f475fe570a1d775360f5543bbb3a6945830 /bin | |
parent | 77faa802b5d1ef8f8ec025d524517e1353ab212f (diff) |
bin:cycle_vts: Add support for gdm virtual terminals
Fixes: lp:1766816
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cycle_vts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/cycle_vts b/bin/cycle_vts index 8b7f5bc..c5e1677 100755 --- a/bin/cycle_vts +++ b/bin/cycle_vts @@ -12,14 +12,14 @@ then exit 1 fi -if [ "$CURRENT_VT" -ne "1" ] +if [ "$CURRENT_VT" == "7" ] then chvt 1 else - chvt 2 + chvt 3 fi -sleep 2 +sleep 5 chvt "$CURRENT_VT" sleep 2 |