Fixup roamguide script

This commit is contained in:
Daniel Ehlers 2018-10-21 11:35:10 +02:00
parent 0da60862c5
commit c86c249db4
1 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
#!/bin/sh
. /lib/functions.
. /lib/functions.sh
LOCK="/tmp/ide.lock"
LOCK="/tmp/roamguide.lock"
try_lock(){
mkdir "$LOCK" || echo "Already running!"
trap "ir $LOCK" EXIT
trap "rm $LOCK" EXIT
}
wifi_kick(){