projects
/
sxmo-sms-ssh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e547b5a
)
added links to files
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 2 Jul 2023 13:29:37 +0000
(15:29 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 2 Jul 2023 13:29:37 +0000
(15:29 +0200)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index
dc53a82
..
8768546
100644
(file)
--- 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.
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
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
```
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
```
tail -f ~/.local/state/sms.txt
@@
-55,6
+64,9
@@
logs on device together for monitoring.
# battery
# 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:
```
to see graphs for volage and current of battery run following from xterm:
```