aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcp/dhcp.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/dhcp/dhcp.pre-install')
-rw-r--r--main/dhcp/dhcp.pre-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/dhcp/dhcp.pre-install b/main/dhcp/dhcp.pre-install
index 2e0b83989b..6aa3de03be 100644
--- a/main/dhcp/dhcp.pre-install
+++ b/main/dhcp/dhcp.pre-install
@@ -1,5 +1,6 @@
#!/bin/sh
-adduser -S -D -h /var/lib/dhcp -s /sbin/nologin -g dhcp dhcp 2>/dev/null
+addgroup -S dhcp 2>/dev/null
+adduser -S -D -h /var/lib/dhcp -s /sbin/nologin -G dhcp -g dhcp dhcp 2>/dev/null
exit 0