From: Dobrica Pavlinusic Date: Sun, 2 Jul 2023 13:29:37 +0000 (+0200) Subject: added links to files X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=6c6c8f4d9556648cc637a3f6a23484d09ee5cf3e;p=sxmo-sms-ssh added links to files --- diff --git a/README.md b/README.md index dc53a82..8768546 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,11 @@ send test sms message to your number: It's simplest to just checkout this pepository into home directory on device. -# create sms-ssh-number +# sms hook + +This hook is implemented in [.config/sxmo/hooks/sxmo_hook_sms.sh](.config/sxmo/hooks/sxmo_hook_sms.sh) + +## create sms-ssh-number This file will be used to verify numbers which are allowed to start ssh tunnel @@ -42,7 +46,12 @@ ssh user@172.16.42.1 echo "+385912345678 optional comment" >> sms-ssh-number ``` -# see log of sms messages +When sms with number in **sms-ssh-number** is received, it will start ssh tunnel using +[srce02-up.sh](srce02-up.sh) + +## see log of sms messages + +This hook will also save all sms messages in file on device (which you can than backup) ``` tail -f ~/.local/state/sms.txt @@ -55,6 +64,9 @@ logs on device together for monitoring. # battery +Battery monitoring is implemented in +[.config/sxmo/hooks/sxmo_hook_statusbar.sh](.config/sxmo/hooks/sxmo_hook_statusbar.sh) + to see graphs for volage and current of battery run following from xterm: ```