]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
dnsmasq: Fix appending arguments to the argument list.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Sep 2013 17:11:40 +0000 (19:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Sep 2013 17:11:40 +0000 (19:11 +0200)
src/initscripts/init.d/dnsmasq

index 15db47c18f7d295e78efa9ec0ee873432bb5370a..34eee0c26e8fbb2aa2bab5fe9b098c03d66ba8bd 100644 (file)
@@ -51,7 +51,7 @@ case "${1}" in
                
                eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
                ARGS="$CUSTOM_ARGS"
-               [ "$DOMAIN_NAME_GREEN" != "" ] && ARGS="-s $DOMAIN_NAME_GREEN"
+               [ "$DOMAIN_NAME_GREEN" != "" ] && ARGS="$ARGS -s $DOMAIN_NAME_GREEN"
                
                echo > /var/ipfire/red/resolv.conf # Clear it
                if [ -e "/var/ipfire/red/dns1" ]; then