diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-18 21:42:09 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-24 01:40:35 -0500 |
commit | 50c986aebe957f823e5d3142fded12700863fa0f (patch) | |
tree | 01159e878f338f0d581f3035218416714ad4dc51 /user/dnsmasq/dnsmasq.pre-install | |
parent | d72165a1f0b2780982611a9e4ed83fe9e6fc336d (diff) | |
download | packages-50c986aebe957f823e5d3142fded12700863fa0f.tar.gz packages-50c986aebe957f823e5d3142fded12700863fa0f.tar.bz2 packages-50c986aebe957f823e5d3142fded12700863fa0f.tar.xz packages-50c986aebe957f823e5d3142fded12700863fa0f.zip |
user/dnsmasq: New package
Diffstat (limited to 'user/dnsmasq/dnsmasq.pre-install')
-rw-r--r-- | user/dnsmasq/dnsmasq.pre-install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user/dnsmasq/dnsmasq.pre-install b/user/dnsmasq/dnsmasq.pre-install new file mode 100644 index 000000000..38a723e57 --- /dev/null +++ b/user/dnsmasq/dnsmasq.pre-install @@ -0,0 +1,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 |