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

post_install() {
echo "Configure files /etc/ssmtp/revaliases, /etc/ssmtp/ssmtp.conf and /etc/ssmtp/wanchecker.conf
after which run:
systemctl enable wanchecker.timer
systemctl start wanchecker.timer
See example SSMTP configuration files on https://github.com/Fincer/wanip-checker
"
chown root.mail /etc/ssmtp/wanchecker.{sh,conf}
}
post_upgrade() {
post_install
}