aboutsummaryrefslogtreecommitdiff
path: root/net/dmapd/files/dmapd.init
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-08 03:45:30 +0200
committerJohn Crispin <blogic@openwrt.org>2014-10-08 03:45:30 +0200
commitd4042ec35eecb0d417af438a3cb80cc5b7d53ae7 (patch)
treedb4864a42da2eb6ea5b12fe9ad11549782eed212 /net/dmapd/files/dmapd.init
parent85695f4561e474a823347cdb2c7a9456d47c4cc6 (diff)
generic userid: use the new USERID api
recent changes in trunk allow us to specify the userid inside the openwrt makefile. the info is stored int he meta data of the IPK contorl file and users are generated by the new generic postinst trigger. Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'net/dmapd/files/dmapd.init')
-rw-r--r--net/dmapd/files/dmapd.init2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/dmapd/files/dmapd.init b/net/dmapd/files/dmapd.init
index 2d9e9aadf..76ecd501f 100644
--- a/net/dmapd/files/dmapd.init
+++ b/net/dmapd/files/dmapd.init
@@ -4,8 +4,6 @@
START=60
start() {
- user_exists dmapd 56 || user_add dmapd 56
- group_exists dmapd 56 || group_add dmapd 56
[ -d /var/run/dmapd ] || {
mkdir -m 0755 -p /var/run/dmapd
chown dmapd:dmapd /var/run/dmapd