stylistic change

This commit is contained in:
Anselm R. Garbe 2006-02-09 00:38:04 +01:00
parent a3ce9b00fa
commit 8821624a06

View File

@ -8,6 +8,8 @@ if(test -r $PIDFILE) {
} }
echo $pid >$PIDFILE echo $pid >$PIDFILE
fn xwrite { echo -n $2 | wmiir write $1 }
fn sigint { fn sigint {
if(test -f $PIDFILE && ~ `{cat $PIDFILE} $pid) if(test -f $PIDFILE && ~ `{cat $PIDFILE} $pid)
rm -f $PIDFILE rm -f $PIDFILE
@ -17,7 +19,6 @@ fn sigint {
} }
wmiikeys -a $ADDRESS & wmiikeys -a $ADDRESS &
fn xwrite { echo -n $2 | wmiir write $1 }
xwrite /ctl 'mount '^$ADDRESS^' /keys' xwrite /ctl 'mount '^$ADDRESS^' /keys'
sleep 1 sleep 1