mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-29 20:49:28 -07:00
stop before upload in case file is locked from writing by running process
This commit is contained in:
committed by
Will Greenberg
parent
c9ac834ca7
commit
840f8ad8b0
3
make.sh
3
make.sh
@@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
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 restart"'
|
||||
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon start"'
|
||||
|
||||
Reference in New Issue
Block a user