diff options
-rw-r--r-- | scripts/splash.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh index eaeaa15..f3cacbe 100644 --- a/scripts/splash.sh +++ b/scripts/splash.sh @@ -57,12 +57,10 @@ splashy_check() { } splashy_exit() { - if [ "$splash_mode" = "splashy" ] && splashy_is_running; then - /sbin/splashy_update exit + if [ "$splash_mode" = "splashy" ]; then + splashy_is_running && /sbin/splashy_update exit clear >/dev/tty8 - if [ "$service" != "dm" ]; then - chvt 1 - fi + [ "$runlevel" != "5" ] && chvt 1 fi } |