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.

10 lines
255 B

  1. #!/bin/sh
  2. uci -q show system.@watchcat[0] || {
  3. uci add system watchcat
  4. uci set system.@watchcat[0].period=6h
  5. uci set system.@watchcat[0].mode=ping
  6. uci set system.@watchcat[0].pinghosts=8.8.8.8
  7. uci set system.@watchcat[0].forcedelay=30
  8. uci commit
  9. }