diff options
author | Erich Eckner <git@eckner.net> | 2022-10-22 19:25:15 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-10-22 19:25:15 +0200 |
commit | 157b6a9f9d1cb5b49a9894df65969f0658b5c412 (patch) | |
tree | daf7e6dd019b04e582f1b12638869b4cc67a2671 | |
parent | 6420ca20b1743323c84942b2363877d515a2d4f7 (diff) | |
download | Brotbacken-157b6a9f9d1cb5b49a9894df65969f0658b5c412.tar.xz |
skip neu
-rwxr-xr-x | Brotbacken.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Brotbacken.sh b/Brotbacken.sh index c766382..442b542 100755 --- a/Brotbacken.sh +++ b/Brotbacken.sh @@ -9,11 +9,16 @@ espeak-ng -vde -w "$tmp_sir/Ofen_runter.wav" 'Dreh bitte den Ofen runter!' espeak-ng -vde -w "$tmp_dir/Ofen_aus.wav" 'Mach bitte den Ofen aus und nimm den Deckel runter!' espeak-ng -vde -w "$tmp_dir/Brot_raus.wav" 'Nimm bitte das Brot raus!' +skip=${1:-0} -sleep 20m -play "$tmp_dir/Ofen_an.wav" -sleep 40m -play "$tmp_dir/Brot_rein.wav" +if [ ${skip} -lt 1 ]; then + sleep 20m + play "$tmp_dir/Ofen_an.wav" +fi +if [ ${skip} -lt 2 ]; then + sleep 40m + play "$tmp_dir/Brot_rein.wav" +fi sleep 5m play "$tmp_dir/Ofen_runter.wav" sleep 40m |