diff --git a/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js b/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js index 96c2fc2d9c4a..acffe9456470 100644 --- a/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js +++ b/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js @@ -57,7 +57,7 @@ return view.extend({ o.depends({ mode: "run_script" }); o = s.taboption('general', form.ListValue, 'addressfamily', - _('Address family for pinging the host')); + _('Address family for pinging the host')); o.default = 'any'; o.depends({ mode: 'ping_reboot' }); o.depends({ mode: 'restart_iface' }); @@ -66,8 +66,16 @@ return view.extend({ o.value('ipv4'); o.value('ipv6'); - o = s.taboption('general', form.Value, 'pingperiod', - _('Check Interval'), + o = s.taboption('general', form.Value, 'pingtimeout', + _('Ping timeout'), + _("Time in second to wait for ping response. (default: 10s)
The default unit is seconds, without a suffix.")); + o.default = '10s'; + o.depends({ mode: "ping_reboot" }); + o.depends({ mode: "restart_iface" }); + o.depends({ mode: "run_script" }); + + o = s.taboption('general', form.Value, 'pingperiod', + _('Check Interval'), _("How often to ping the host specified above. \

The default unit is seconds, without a suffix, but you can use the suffix m for minutes, h for hours or d for days.

\ Examples: