procd: allow optional watchdog instance parameter
[openwrt/openwrt.git] / package / system / procd / files / procd.sh
index dd6dc1c58df2a56807c0a7b59d4767caec42ebaf..d86b7219da81c771655b8e841f30ceeab0a64c83 100644 (file)
@@ -247,7 +247,7 @@ _procd_set_param() {
                env|data|limits)
                        _procd_add_table "$type" "$@"
                ;;
-               command|netdev|file|respawn|watch)
+               command|netdev|file|respawn|watch|watchdog)
                        _procd_add_array "$type" "$@"
                ;;
                error)
@@ -378,7 +378,7 @@ _procd_append_param() {
                env|data|limits)
                        _procd_add_table_data "$@"
                ;;
-               command|netdev|file|respawn|watch)
+               command|netdev|file|respawn|watch|watchdog)
                        _procd_add_array_data "$@"
                ;;
                error)