mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-30 09:29:58 -07:00
7 lines
333 B
Bash
Executable File
7 lines
333 B
Bash
Executable File
#!/bin/sh
|
|
cargo build --release --target="armv7-unknown-linux-musleabihf" #--features debug
|
|
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon stop"'
|
|
adb push target/armv7-unknown-linux-musleabihf/release/rayhunter-daemon /data/rayhunter/rayhunter-daemon
|
|
echo "rebooting the device..."
|
|
adb shell '/bin/rootshell -c "reboot"'
|