WAN IPv4 checker & email notifier for computers behind dynamic IP/DHCP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
372 B

  1. post_install() {
  2. echo "Configure files /etc/ssmtp/revaliases, /etc/ssmtp/ssmtp.conf and /etc/ssmtp/wanchecker.conf
  3. after which run:
  4. systemctl enable wanchecker.timer
  5. systemctl start wanchecker.timer
  6. See example SSMTP configuration files on https://github.com/Fincer/wanip-checker
  7. "
  8. chown root.mail /etc/ssmtp/wanchecker.{sh,conf}
  9. }
  10. post_upgrade() {
  11. post_install
  12. }