diff options
author | John Crispin <john@openwrt.org> | 2014-09-11 12:28:00 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-11 12:28:00 +0000 |
commit | f81614594f4947ab4b23a7ea374c133729223015 (patch) | |
tree | 782f104a16b767b3096e79058b961273d00f2159 /package/system/procd/files | |
parent | d6dbc22bbcde78bbc378ca3f006771a2b074ff2e (diff) | |
download | upstream-f81614594f4947ab4b23a7ea374c133729223015.tar.gz upstream-f81614594f4947ab4b23a7ea374c133729223015.tar.bz2 upstream-f81614594f4947ab4b23a7ea374c133729223015.zip |
procd: update to latest git
add support for starting services as !root
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42471
Diffstat (limited to 'package/system/procd/files')
-rw-r--r-- | package/system/procd/files/procd.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index e4e75edb2e..109daee64c 100644 --- a/package/system/procd/files/procd.sh +++ b/package/system/procd/files/procd.sh @@ -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 } |