Commit 9e52b4f6 authored by Bernhard Landauer's avatar Bernhard Landauer
Browse files

setterm only when on tty

parent 54ad5322
...@@ -33,7 +33,10 @@ fi ...@@ -33,7 +33,10 @@ fi
# run in debug mode with -d option # run in debug mode with -d option
[[ $1 == "-d" ]] && declare -i debug=1 [[ $1 == "-d" ]] && declare -i debug=1
setterm -blank 0 -powersave off case $(tty) in /dev/tty[0-9]*)
setterm -blank 0 -powersave off ;;
esac
id_system id_system
set_language set_language
mk_connection mk_connection
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment