mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-03 19:53:33 -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
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cargo build --release --target="armv7-unknown-linux-gnueabihf" #--features debug
|
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 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