diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-19 09:12:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-19 09:14:19 +0000 |
commit | 1e466a24c57acb162cbc1743a54d25def47c26c2 (patch) | |
tree | a3051cd30cbe024c2fd1f9e5095d817b8ab46323 /main/dnsmasq/dnsmasq.pre-install | |
parent | cfed76043a5f2cfbf62850c68ec439257d4a8c59 (diff) | |
download | aports-1e466a24c57acb162cbc1743a54d25def47c26c2.tar.bz2 aports-1e466a24c57acb162cbc1743a54d25def47c26c2.tar.xz |
main/dnsmasq: replace opts in init.d script and create user/group
While we were here we create and enable the user "dnsmasq".
ref #943
Diffstat (limited to 'main/dnsmasq/dnsmasq.pre-install')
-rw-r--r-- | main/dnsmasq/dnsmasq.pre-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/dnsmasq/dnsmasq.pre-install b/main/dnsmasq/dnsmasq.pre-install new file mode 100644 index 0000000000..8502b6e79a --- /dev/null +++ b/main/dnsmasq/dnsmasq.pre-install @@ -0,0 +1,5 @@ +#!/bin/sh + +addgroup dnsmasq 2>/dev/null +adduser -S -H -h /dev/null -s /bin/false -G dnsmasq -D dnsmasq 2>/dev/null +exit 0 |