1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-03-23 21:19:24 +02:00

10 lines
166 B
Plaintext
Raw Normal View History

2016-08-22 11:37:10 +08:00
#!/bin/bash
BASEDIR=$(dirname $0)
if [[ $1 == mouse || $1 == kbd ]]
then
exec python3 -u $BASEDIR/nrinput.py $@
else
sudo python -u $BASEDIR/nrgpio.py $@
fi