aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-11 12:28:00 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-11 12:28:00 +0000
commitcee0fdae00c67ae1f32e8292e95859b908977194 (patch)
tree8061735c15e44099c20c57dc8a971d16f9b979d2 /package/system/procd/files
parent3caa9395b5c994b945767c8e528a2afdf24df35e (diff)
downloadupstream-cee0fdae00c67ae1f32e8292e95859b908977194.tar.gz
upstream-cee0fdae00c67ae1f32e8292e95859b908977194.tar.bz2
upstream-cee0fdae00c67ae1f32e8292e95859b908977194.zip
procd: update to latest git
add support for starting services as !root Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42471 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/procd/files')
-rw-r--r--package/system/procd/files/procd.sh4
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
}