wok-current rev 20071
busybox/udhcpc6: update script (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 23 18:56:15 2017 +0200 (2017-09-23) |
parents | 121612c89805 |
children | cc3ce981e201 |
files | busybox/stuff/udhcp.script |
line diff
1.1 --- a/busybox/stuff/udhcp.script Sat Sep 23 17:56:48 2017 +0200 1.2 +++ b/busybox/stuff/udhcp.script Sat Sep 23 18:56:15 2017 +0200 1.3 @@ -57,9 +57,12 @@ 1.4 for i in $dns ; do 1.5 echo nameserver $i 1.6 done >> $RESOLV_CONF 1.7 - [ "$1" == "bound" ] && for i in /etc/ipup.d/*; do 1.8 - [ -x $i ] && $i $interface $ip $dns 1.9 - done 1.10 + if [ "$1" == "bound" ] ; then 1.11 + [ -n "$tz" ] && echo $tz > /etc/TZ 1.12 + for i in /etc/ipup.d/*; do 1.13 + [ -x $i ] && $i $interface $ip $dns 1.14 + done 1.15 + fi 1.16 ;; 1.17 esac 1.18