No subject


Tue May 4 07:41:36 BST 2010


syslog, but all output from a successful startup, and  all  output
whilst running, will go exclusively to the file."
> 
> It's a bit less automatic than I had wished for, but my solution is to
> put an "--interface=x" line into the arguments to dnsmasq and start it
> only after this interface is up (any bourne shell syntax):
> 
>   local_dev_wlan="wlan0"
>   pattern_wlan_up="up.+up"
>   prog_ip="/usr/sbin/ip"
>   prog_egrep="/bin/egrep"
>   prog_sleep="/bin/sleep"
>   time_sleep=3
>   #
>   echo "${0}: $(date) wait for ${local_dev_wlan} to come up"
>   until ${prog_ip} link show "${local_dev_wlan}" |
>       ${prog_egrep} -i "${pattern_wlan_up}" >/dev/null 2>&1
>   do ${prog_sleep} ${time_sleep}; done
> 
> Also, I use "--bind-interfaces".
> 

Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list