-
Fill
data/config.sh
, following instruction links in the file -
If you have a router running
pppoe
, wanting to accept IP change notification-
For OpenWrt users, upload the whole project to
/usr/local/etc/
,cd
the project folder, then run./openwrt.sh
-
For Padavan users, upload the whole project to
/etc/storage/
,cd
the project folder, then run./padavan.sh
-
Other devices users, upload the whole project to
/root
,cd
the project folder, then runprintf "%s\n%s" "$(crontab -l)" "*/5 * * * * '$(pwd)'/main.sh" | crontab -
-
-
If you want to accept custom notifications, modify
main.sh
, here are some APIs for you to useFunction Arg1 Arg2 wx_send_message
Notification Title Notification Description tg_send_message
Notification Title Notification Description For example
wx_send_message "XX Service Is Down" "error message"