]> rtime.felk.cvut.cz Git - can-eth-gw.git/blob - distro/customroot/etc/udhcpc.conf
Merge branch 'master' of ssh://rtime.felk.cvut.cz/can-eth-gw
[can-eth-gw.git] / distro / customroot / etc / udhcpc.conf
1 #!/bin/sh
2 # Sample udhcpc renew script
3
4 RESOLV_CONF="/etc/resolv.conf"
5
6 [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
7 [ -n "$subnet" ] && NETMASK="netmask $subnet"
8
9 echo dns=$dns
10 echo router=$router
11
12 ifconfig $interface $ip $BROADCAST $NETMASK
13