summaryrefslogtreecommitdiff
path: root/user/dnsmasq/dnsmasq.pre-install
blob: 38a723e5719c31dc63046462eb835ab3ff51268e (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

groupadd -r dnsmasq -g 200 2>/dev/null
useradd -c "dnsmasq daemon user" -s /sbin/nologin -g dnsmasq \
	-M -d /var/empty -r -u 200 dnsmasq 2>/dev/null

exit 0