diff options
author | Joerg Seitter <adk@seitter.net> | 2020-04-30 23:06:01 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-05-05 09:25:20 +0200 |
commit | 7dc649ed6dfb737d3af603ad8b41e2162b9abec9 (patch) | |
tree | a2124ad33d9d107d1b2d955aefd99188d58433b1 /package/shairport-sync/files/shairport-sync.postinst | |
parent | 90c8be2b41f2866021c186338a9ee3b01765e761 (diff) |
shairpoint-sync: proper startup integration
Signed-off-by: Joerg Seitter <adk@seitter.net>
Diffstat (limited to 'package/shairport-sync/files/shairport-sync.postinst')
-rw-r--r-- | package/shairport-sync/files/shairport-sync.postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/shairport-sync/files/shairport-sync.postinst b/package/shairport-sync/files/shairport-sync.postinst new file mode 100644 index 000000000..9558f175a --- /dev/null +++ b/package/shairport-sync/files/shairport-sync.postinst @@ -0,0 +1,7 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_rcconf shairport_sync NO +add_rcconf shairport_sync_flags " " +gid=$(get_next_gid) +add_group shairport-sync $gid +add_user shairport-sync $(get_next_uid) $gid /etc/shairport-sync |