mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
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>
This commit is contained in:
@@ -32,6 +32,7 @@ define Package/dmapd
|
||||
DEPENDS:=+libdmapsharing +libdb47 +vips
|
||||
TITLE:= dmapd
|
||||
URL:=http://www.flyn.org/projects/dmapd/
|
||||
USERID:=dmapd=56:dmapd=56
|
||||
endef
|
||||
|
||||
define Package/dmapd/decription
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user