aboutsummaryrefslogtreecommitdiffstats
path: root/main/djbdns
diff options
context:
space:
mode:
Diffstat (limited to 'main/djbdns')
-rw-r--r--main/djbdns/dnscache.pre-install3
-rw-r--r--main/djbdns/tinydns.pre-install3
2 files changed, 4 insertions, 2 deletions
diff --git a/main/djbdns/dnscache.pre-install b/main/djbdns/dnscache.pre-install
index 664732ca54..f59549a438 100644
--- a/main/djbdns/dnscache.pre-install
+++ b/main/djbdns/dnscache.pre-install
@@ -1,5 +1,6 @@
#!/bin/sh
-adduser -S -D -H -h /etc/dnscache -g dnscache -s /sbin/nologin dnscache 2>/dev/null
+addgroup -S dnscache 2>/dev/null
+adduser -S -D -H -h /etc/dnscache -G dnscache -g dnscache -s /sbin/nologin dnscache 2>/dev/null
exit 0
diff --git a/main/djbdns/tinydns.pre-install b/main/djbdns/tinydns.pre-install
index 85ba7e7e20..da47789e25 100644
--- a/main/djbdns/tinydns.pre-install
+++ b/main/djbdns/tinydns.pre-install
@@ -1,5 +1,6 @@
#!/bin/sh
-adduser -S -D -H -h /etc/tinydns -s /sbin/nologin -g tinydns tinydns 2>/dev/null
+addgroup -S tinydns 2>/dev/null
+adduser -S -D -H -h /etc/tinydns -s /sbin/nologin -G tinydns -g tinydns tinydns 2>/dev/null
exit 0