procd: update to latest git
[openwrt/svn-archive/archive.git] / package / system / procd / files / procd.sh
index e4e75edb2e13174afa178d12f08bf92576653aac..109daee64c269824426b4d08ada05aacb2b235cc 100644 (file)
@@ -18,6 +18,7 @@
 #     file: configuration files (array)
 #     netdev: bound network device (detects ifindex changes)
 #     limits: resource limits (passed to the process)
+#     user info: array with 1 values $username
 #
 #   No space separation is done for arrays/tables - use one function argument per command line argument
 #
@@ -139,6 +140,9 @@ _procd_set_param() {
                nice)
                        json_add_int "$type" "$1"
                ;;
+               user)
+                       json_add_string "$type" "$1"
+               ;;
        esac
 }