packages/utils/watchcat/files/uci_defaults_watchcat
nunojpg 402d342659 [packages] add package watchcat: Allows to configure a periodically reboot, or after loosing internet connectivity
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 23:56:42 +00:00

8 lines
209 B
Bash

#!/bin/sh
uci add system watchcat
uci set system.@watchcat[0].period=6h
uci set system.@watchcat[0].mode=ping
uci set system.@watchcat[0].pinghosts=8.8.8.8
uci set system.@watchcat[0].forcedelay=30
uci commit