termux autostart

This commit is contained in:
mwiegand 2022-06-01 23:11:55 +02:00
parent 6f9218c5a1
commit bada714b10

View file

@ -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