summaryrefslogtreecommitdiff
path: root/package/scanlogd/files/scanlogd.postinst
blob: 237852192cc48e2a9fe88e65529621c95772b56c (plain)
1
2
3
4
5
6
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf scanlogd scanlogd NO
gid=$(get_next_gid)
add_group scanlogd $gid
add_user scanlogd $(get_next_uid) $gid /tmp/