]> git.pld-linux.org Git - packages/dnsmasq.git/commitdiff
- ability to specify command line options in /etc/sysconfig/dnsmasq dnsmasq-1_10-1
authorradek <radek@pld-linux.org>
Wed, 22 Jan 2003 12:59:35 +0000 (12:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dnsmasq.config -> 1.2
    dnsmasq.init -> 1.2

dnsmasq.config
dnsmasq.init

index f6d1d6c7b618de02e7e59d454a6bf9b872a4a3e6..2ac0e49818db85a7ef1717357d7e391d7ec36c2a 100644 (file)
@@ -1,5 +1,8 @@
 # configuration for dnsmasq
 
+# you can specify options for dnsmasq here
+OPTIONS=""
+
 # change this line if you want dnsmasq to serve an MX record for 
 # the host it is running on. 
 MAILHOSTNAME=""
index 5db8894f32f68ca7b46138430f91ee66bb687cd0..31c325d2e827946e588928bfa9ce7162f7c3ab4f 100644 (file)
@@ -29,12 +29,12 @@ MAILHOSTNAME=""
 RESOLV_CONF=""
 DHCP_LEASE="/var/lib/dhcp/dhcpd.leases"
 DOMAIN_SUFFIX=`dnsdomainname`
+OPTIONS=""
 
 # Get service config
 [ -f "/etc/sysconfig/$SERVICE" ] && . "/etc/sysconfig/$SERVICE"
 
 # Set proper options for dnsmasq
-OPTIONS=""
 [ -n "$MAILHOSTNAME" ] &&  OPTIONS="$OPTIONS -m $MAILHOSTNAME"
 [ -n "$RESOLV_CONF" ] && OPTIONS="$OPTIONS -r $RESOLV_CONF"
 [ -n "$DHCP_LEASE" ] && OPTIONS="$OPTIONS -l $DHCP_LEASE"
This page took 0.176201 seconds and 4 git commands to generate.