From 3d1ead045a6e53cc4625750b57d61f38f7cdad90 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Thu, 21 Nov 2024 13:51:06 +0530 Subject: Initial commit --- shortcuts/pc-connect | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 shortcuts/pc-connect (limited to 'shortcuts/pc-connect') 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 -- cgit v1.2.3