Fix crash on scan failure
[khome.git] / home / bin / alarm
1 #! /bin/sh
2
3 case "$1"
4 in "")
5 seconds=0
6 ;; *)
7 seconds="$1"
8 esac
9
10 snore "$seconds"
11
12 printf "!!! TIMES UP !!!\n"
13
14 while true
15 do
16 play -q -n synth 0.25 sin 500 2> /dev/null
17 sleep 0.25
18 done
This page took 0.04512 seconds and 4 git commands to generate.