From d322d136d7250255b12e7f058322f95e9566c470 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 27 Jan 2011 22:21:13 +0100 Subject: minor cosmetic changes, rename rc.conf variable name to be more consistent --- package/dnsmasq/Makefile | 2 +- package/dnsmasq/files/dnsmasq.conf | 10 ++++------ package/dnsmasq/files/dnsmasq.init | 2 +- package/dnsmasq/files/dnsmasq.postinst | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) (limited to 'package/dnsmasq') diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile index 6bce7db1e..3cca7cc35 100644 --- a/package/dnsmasq/Makefile +++ b/package/dnsmasq/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= dnsmasq PKG_VERSION:= 2.55 -PKG_RELEASE:= 2 +PKG_RELEASE:= 3 PKG_MD5SUM:= b093d7c6bc7f97ae6fd35d048529232a PKG_DESCR:= A lightweight DNS and DHCP server PKG_SECTION:= dns diff --git a/package/dnsmasq/files/dnsmasq.conf b/package/dnsmasq/files/dnsmasq.conf index 086a0b7f7..9da4b0c85 100644 --- a/package/dnsmasq/files/dnsmasq.conf +++ b/package/dnsmasq/files/dnsmasq.conf @@ -12,21 +12,19 @@ expand-hosts # add more dhcp-range options for every subnet dhcp-range=192.168.1.129,192.168.1.254,255.255.255.0,72h interface=lo -interface=eth0.0 -#interface=eth1 -interface=br0 +interface=eth0 # Enable dnsmasq's built-in TFTP server -#enable-tftp +enable-tftp # Set the root directory for files available via TFTP. -#tftp-root=/tftpboot +tftp-root=/tftpboot dhcp-authoritative dhcp-leasefile=/tmp/dhcp.leases # use /etc/ethers for static hosts # -#read-ethers +read-ethers # other useful options (0.0.0.0 means server itself) # default route(s): diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 7f4f75325..07c76f862 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -6,7 +6,7 @@ case $1 in autostop) ;; autostart) - [[ $dns_dhcp = NO ]] && exit 0 + [[ $dnsmasq = NO ]] && exit 0 exec sh $0 start ;; start) diff --git a/package/dnsmasq/files/dnsmasq.postinst b/package/dnsmasq/files/dnsmasq.postinst index f2ff69e58..86cf960e6 100644 --- a/package/dnsmasq/files/dnsmasq.postinst +++ b/package/dnsmasq/files/dnsmasq.postinst @@ -4,4 +4,4 @@ gid=$(get_next_gid) add_user dnsmasq $(get_next_uid) $gid /tmp add_group dnsmasq $gid -add_rcconf dnsmasq dns_dhcp NO +add_rcconf dnsmasq dnsmasq NO -- cgit v1.2.3