Add init_controller.sh script

legacy
Markus Koch 2019-07-21 12:51:52 +02:00
parent 4ef01c2ad4
commit 5fc1539c0c
1 changed files with 10 additions and 0 deletions

10
init_controller.sh 100755
View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ "`whoami`" != "root" ]; then
echo "Need to be root."
exit 1
fi
modprobe serio
insmod fsia6b.ko
./linuxconsole/utils/inputattach --baud 115200 --fsia6b /dev/ttyUSB0