diff options
Diffstat (limited to 'shortcuts/pc-connect')
-rwxr-xr-x | shortcuts/pc-connect | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shortcuts/pc-connect b/shortcuts/pc-connect new file mode 100755 index 0000000..0c5fe12 --- /dev/null +++ b/shortcuts/pc-connect @@ -0,0 +1,9 @@ +#!/bin/sh + +termux-wake-lock +su -c setprop service.adb.tcp.port 43896 +su -c start adbd + +for prog in sshd syncthing; do + pidof -q "$prog" || "$prog" & +done >/dev/null 2>&1 |