Skip to content

Commit

Permalink
fixing x20
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jul 31, 2024
1 parent 4d38744 commit d0f4298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions initX20.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ depmod -a
modprobe HdZero
if [ ! -f /usr/local/share/openhd_platform/x20/firstboot_done ]; then
touch /usr/local/share/openhd_platform/x20/firstboot_done
touch /external/log2.txt
echo "started once" >> /external/log2.txt
rm /run/openhd/hold.pid
reboot
fi
Expand Down
4 changes: 0 additions & 4 deletions x20/OpenHD_X20
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/bash

if [ ! -f /usr/local/share/openhd_platform/x20/firstboot_done ]; then
touch /run/openhd/hold.pid
fi

# Go red to say openhd is starting
echo 0 >/sys/class/leds/openhd-x20dev\:red\:usr/brightness
echo 1 >/sys/class/leds/openhd-x20dev\:green\:usr/brightness
Expand Down

0 comments on commit d0f4298

Please sign in to comment.