From bada714b108b7792e0e3fea071dc0953032132ac Mon Sep 17 00:00:00 2001 From: mwiegand Date: Wed, 1 Jun 2022 23:11:55 +0200 Subject: [PATCH] termux autostart --- bundles/tasmota-charge/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/tasmota-charge/README.md b/bundles/tasmota-charge/README.md index 4237d23..f84fa1d 100644 --- a/bundles/tasmota-charge/README.md +++ b/bundles/tasmota-charge/README.md @@ -10,6 +10,13 @@ - run `sshd` to start ssh server - run `su - tasmota-charge -c 'ssh-copy-id -p 8022 u0_a233@10.0.0.175'` on server node - acquire wakelock for the termux session in notifications +- install termux::boot from F-Droid +- create file ~/.termux/boot/start-sshd: + ```shell + #!/data/data/com.termux/files/usr/bin/sh + termux-wake-lock + sshd + ``` # Server