17 lines
664 B
Markdown
17 lines
664 B
Markdown
|
# Boot SMS
|
||
|
|
||
|
This script uses Free Mobile SMS API to send an SMS informing admin of server reboot.
|
||
|
|
||
|
### Files
|
||
|
* `boot-sms.sh` is the main script.
|
||
|
* `wait-reaching.sh` is used by main script to make sure API service is reachable (in practice, delay is the time
|
||
|
required by network to be up).
|
||
|
* `variables.conf.template` contains examples variables definitions, and should be copied locally to `variables.conf`
|
||
|
(with any required modifications).
|
||
|
* `systemd-templates/` contains a Systemd units template for running the script at boot.
|
||
|
#### Installation
|
||
|
* `install.sh` script copies the Systemd template to its destination, and enable the service.
|
||
|
|
||
|
### TODO
|
||
|
* RAS
|