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