Add more commands to PATH
This commit is contained in:
9
btpl.sh
9
btpl.sh
@@ -1,2 +1,9 @@
|
||||
#/bin/sh
|
||||
python3 ~/.bluetooth-proximity-locking/btpl.py [bluetooth address] > /dev/null &
|
||||
if [ $# \< 2 ]
|
||||
then
|
||||
python3 ~/.bluetooth-proximity-locking/btpl.py [bluetooth address] > /dev/null &
|
||||
elif [ "$1" = "-r" ] || [ "$1" = "--run" ]
|
||||
python3 ~/.bluetooth-proximity-locking/btpl.py [bluetooth address] > /dev/null &
|
||||
elif [ "$1" = "-s" ] || [ "$1" = "--stop" ]
|
||||
pkill ~/.bluetooth-proximity-locking/btpl.py
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user