slitaz-boot-scripts rev 272
network.sh: add static helper support (like dhcp)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 31 18:14:34 2011 +0200 (2011-05-31) |
parents | 9c574bdd563f |
children | 2bce54934129 |
files | etc/init.d/network.sh |
line diff
1.1 --- a/etc/init.d/network.sh Tue May 31 16:07:05 2011 +0200 1.2 +++ b/etc/init.d/network.sh Tue May 31 18:14:34 2011 +0200 1.3 @@ -160,6 +160,9 @@ 1.4 do 1.5 echo "nameserver $NS" >> /etc/resolv.conf 1.6 done 1.7 + for HELPER in /etc/ipup.d/*; do 1.8 + [ -x $HELPER ] && $HELPER $INTERFACE $DNS_SERVER 1.9 + done 1.10 fi 1.11 } 1.12