[Dnsmasq-discuss] "bad command line options: illegal repeated flag"

RevRagnarok DNSMasq at RevRagnarok.com
Mon Jul 28 22:37:54 BST 2008


Thanks all,

  Turns out the script was giving both -s and --domain. When he took out -s,
it failed with a different error, but with just -s and no --domain it was
happy. Thanks for the help!

 - Aaron

+ DHCP_LEASE=/var/lib/dhcp/dhcpd.leases
++ dnsdomainname
+ DOMAIN_SUFFIX=middleearth
+ OPTIONS='--domain=middleearth --expand-hosts'
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ '[' '!' -z /var/lib/dhcp/dhcpd.leases ']'
+ OPTIONS='--domain=middleearth --expand-hosts -l
/var/lib/dhcp/dhcpd.leases'
+ '[' '!' -z middleearth ']'
+ OPTIONS='--domain=middleearth --expand-hosts -l /var/lib/dhcp/dhcpd.leases
-s middleearth'
+ RETVAL=0
+ case "$1" in
+ echo -n 'Starting dnsmasq: '
Starting dnsmasq: + daemon /usr/local/sbin/dnsmasq --domain=middleearth
--expand-hosts -l /var/lib/dhcp/dhcpd.leases -s middleearth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20080728/dc58b386/attachment.htm


More information about the Dnsmasq-discuss mailing list