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