notification.sh: Fixed Terminal test of STDIN
This commit is contained in:
parent
b4c242d48f
commit
2aff11395c
1 changed files with 2 additions and 4 deletions
|
@ -3,10 +3,8 @@
|
||||||
source "$(dirname $0)/.env"
|
source "$(dirname $0)/.env"
|
||||||
|
|
||||||
|
|
||||||
#LINE1='Backup finished!'
|
[[ -t 0 ]] && printf "Line 1> "; read LINE1
|
||||||
#LINE2=''
|
[[ -t 0 ]] && printf "Line 2> "; read LINE2
|
||||||
[ -t /dev/stdin ] && printf "Line 1> "; read LINE1
|
|
||||||
[ -t /dev/stdin ] && printf "Line 2> "; read LINE2
|
|
||||||
LED_BLINK=".5s"
|
LED_BLINK=".5s"
|
||||||
#DISPLAY_DURATION="4s"
|
#DISPLAY_DURATION="4s"
|
||||||
DISPLAY_DURATION="10s"
|
DISPLAY_DURATION="10s"
|
||||||
|
|
Loading…
Reference in a new issue