diff options
Diffstat (limited to 'package/freeradius-server/files/freeradius-server.postinst')
-rw-r--r-- | package/freeradius-server/files/freeradius-server.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/freeradius-server/files/freeradius-server.postinst b/package/freeradius-server/files/freeradius-server.postinst new file mode 100644 index 000000000..c65fa195f --- /dev/null +++ b/package/freeradius-server/files/freeradius-server.postinst @@ -0,0 +1,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 |