Accept a name for dl and include starter script file
[khome.git] / home / bin / alarm
... / ...
CommitLineData
1#! /bin/sh
2
3case "$1"
4 in "")
5 seconds=0
6 ;; *)
7 seconds="$1"
8esac
9
10if which snore
11then
12 _sleep=snore;
13else
14 _sleep=sleep;
15fi
16
17"$_sleep" "$seconds"
18
19printf "!!! TIMES UP !!!\n"
20
21while true
22do
23 play -q -n synth 0.25 sin 500 2> /dev/null
24 sleep 0.25
25done
This page took 0.017171 seconds and 4 git commands to generate.