We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c6e81 commit f21ae0eCopy full SHA for f21ae0e
docker/start.sh
@@ -1,3 +1,11 @@
1
#!/bin/sh
2
-
3
-cd /coderbot && modprobe i2c-dev && python3 coderbot/main.py
+# disable ethernet, usb
+[ "$CODERBOT_disable_eth_usb" = "true" ] && echo '1-1' | tee /sys/bus/usb/drivers/usb/unbind
4
+# disable HDMI output
5
+/usr/bin/tvservice -o
6
+# enable i2c driver
7
+modprobe i2c-dev
8
+# set home
9
+cd /coderbot
10
+# start coderbot
11
+python3 coderbot/main.py
0 commit comments