diff options
Diffstat (limited to 'package/dnsmasq/ipkg')
-rw-r--r-- | package/dnsmasq/ipkg/dnsmasq.conffiles | 1 | ||||
-rw-r--r-- | package/dnsmasq/ipkg/dnsmasq.control | 4 | ||||
-rw-r--r-- | package/dnsmasq/ipkg/dnsmasq.postinst | 7 |
3 files changed, 12 insertions, 0 deletions
diff --git a/package/dnsmasq/ipkg/dnsmasq.conffiles b/package/dnsmasq/ipkg/dnsmasq.conffiles new file mode 100644 index 000000000..e30eba8f6 --- /dev/null +++ b/package/dnsmasq/ipkg/dnsmasq.conffiles @@ -0,0 +1 @@ +/etc/dnsmasq.conf diff --git a/package/dnsmasq/ipkg/dnsmasq.control b/package/dnsmasq/ipkg/dnsmasq.control new file mode 100644 index 000000000..6f61edc65 --- /dev/null +++ b/package/dnsmasq/ipkg/dnsmasq.control @@ -0,0 +1,4 @@ +Package: dnsmasq +Priority: essential +Section: net +Description: A lightweight DNS and DHCP server diff --git a/package/dnsmasq/ipkg/dnsmasq.postinst b/package/dnsmasq/ipkg/dnsmasq.postinst new file mode 100644 index 000000000..f2ff69e58 --- /dev/null +++ b/package/dnsmasq/ipkg/dnsmasq.postinst @@ -0,0 +1,7 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh + +gid=$(get_next_gid) +add_user dnsmasq $(get_next_uid) $gid /tmp +add_group dnsmasq $gid +add_rcconf dnsmasq dns_dhcp NO |