1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-03-29 21:46:53 +02:00
2016-08-22 11:37:10 +08:00

10 lines
166 B
Bash
Executable File

#!/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