]> git.pld-linux.org Git - packages/dnsmasq.git/commitdiff
- interface option
authormisi3k <misi3k@pld-linux.org>
Sat, 9 Aug 2003 11:11:03 +0000 (11:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dnsmasq.config -> 1.3
    dnsmasq.init -> 1.9

dnsmasq.config
dnsmasq.init

index 2ac0e49818db85a7ef1717357d7e391d7ec36c2a..2d8623587dc7dea5989e6af781b6fdf854337c80 100644 (file)
@@ -3,6 +3,9 @@
 # you can specify options for dnsmasq here
 OPTIONS=""
 
+# listen on interface
+INTERFACE=""
+
 # change this line if you want dnsmasq to serve an MX record for 
 # the host it is running on. 
 MAILHOSTNAME=""
index a098c3b9338b6905ea64ef07bbcb68e85ef4ccfc..8e511259f3beb0cd047817559f45397997b82d2b 100644 (file)
@@ -43,6 +43,7 @@ OPTIONS=""
 [ -n "$RESOLV_CONF" ] && OPTIONS="$OPTIONS -r $RESOLV_CONF"
 [ -n "$DHCP_LEASE" ] && OPTIONS="$OPTIONS -l $DHCP_LEASE"
 [ -n "$DOMAIN_SUFFIX" ] && OPTIONS="$OPTIONS -s $DOMAIN_SUFFIX"
+[ -n "$INTERFACE" ] && OPTIONS="$OPTIONS -s $INTERFACE"
 
 RETVAL=0
 # See how we were called.
This page took 0.129297 seconds and 4 git commands to generate.