procd: add support for relaying daemon stdio to syslog
[openwrt-github/.git] / package / system / procd / files / procd.sh
index be1d888a196e429776211e184903f736f0364e1e..78352c0b761a07bd4c7f40806d485e7c790019c4 100644 (file)
@@ -143,6 +143,9 @@ _procd_set_param() {
                user)
                        json_add_string "$type" "$1"
                ;;
+               stdout|stderr)
+                       json_add_boolean "$type" "$1"
+               ;;
        esac
 }