summaryrefslogtreecommitdiff
path: root/package/freeradius-server/files/freeradius-server.postinst
blob: a20a7bf7a5a19b226b470fa4dd11fda342ddf8a6 (plain)
1
2
3
4
5
6
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf radiusd NO
gid=$(get_next_gid)
add_group radius $gid
add_user radius $(get_next_uid) $gid /usr/lib/radius