aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius/freeradius.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/freeradius/freeradius.pre-install')
-rw-r--r--main/freeradius/freeradius.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/freeradius/freeradius.pre-install b/main/freeradius/freeradius.pre-install
new file mode 100644
index 0000000000..04c48bb3fe
--- /dev/null
+++ b/main/freeradius/freeradius.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup radiusd 2>/dev/null
+adduser -S -G radiusd -h /var/log/radius -s /bin/false -D radiusd 2>/dev/null
+exit 0
+