summaryrefslogtreecommitdiff
path: root/repo/dnsmasq/dnsmasq-dnssec.pre-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'repo/dnsmasq/dnsmasq-dnssec.pre-upgrade')
-rw-r--r--repo/dnsmasq/dnsmasq-dnssec.pre-upgrade6
1 files changed, 6 insertions, 0 deletions
diff --git a/repo/dnsmasq/dnsmasq-dnssec.pre-upgrade b/repo/dnsmasq/dnsmasq-dnssec.pre-upgrade
new file mode 100644
index 0000000..708c15b
--- /dev/null
+++ b/repo/dnsmasq/dnsmasq-dnssec.pre-upgrade
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S dnsmasq 2>/dev/null
+adduser -S -D -H -h /dev/null -s /sbin/nologin -G dnsmasq -g dnsmasq dnsmasq 2>/dev/null
+
+exit 0