Any comments, suggestions... ?

Am Montag, 27. Juni 2011, 22:44:49 schrieb Michael Heimpold:
> This patch adds a new config option 'syslog' which will -when present-
> enable udhcpc's capability to send log message to syslog.
> 
> Signed-off-by: Michael Heimpold <[email protected]>
> 
> Index: package/base-files/files/lib/network/config.sh
> ===================================================================
> --- package/base-files/files/lib/network/config.sh    (revision 27292)
> +++ package/base-files/files/lib/network/config.sh    (working copy)
> @@ -359,6 +359,7 @@
>                       config_get vendorid "$config" vendorid
>                       config_get_bool broadcast "$config" broadcast 0
>                       config_get reqopts "$config" reqopts
> +                     config_get_bool syslog "$config" syslog
>  
>                       [ -z "$ipaddr" ] || \
>                               $DEBUG ifconfig "$iface" "$ipaddr" 
> ${netmask:+netmask "$netmask"}
> @@ -378,7 +379,7 @@
>                               ${hostname:+-H $hostname} \
>                               ${clientid:+-c $clientid} \
>                               ${vendorid:+-V $vendorid} \
> -                             -b -p "$pidfile" $broadcast \
> +                             ${syslog:+-S} -b -p "$pidfile" $broadcast \
>                               ${dhcpopts}
>               ;;
>               none)
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to