Update make.sh

reboot the orbic instead of starting up the process again, since rootshell seems to have insufficient privileges to start rayhunter
This commit is contained in:
Will Greenberg
2025-03-25 16:32:07 -07:00
committed by Cooper Quintin
parent c9dcbbe5d6
commit 0d9f53f602
+2 -1
View File
@@ -2,4 +2,5 @@
cargo build --release --target="armv7-unknown-linux-gnueabihf" #--features debug
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon stop"'
adb push target/armv7-unknown-linux-gnueabihf/release/rayhunter-daemon /data/rayhunter/rayhunter-daemon
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon start"'
echo "rebooting the device..."
adb shell '/bin/rootshell -c "reboot"'