dnsmasq: Fix appending arguments to the argument list.
[people/teissler/ipfire-2.x.git] / 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