Added patch for udhcp support. Patch by Stefan Nickl <snickl@snickl.freaks.de> and submitted to bug #145115.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@450 67a159dc-881f-0410-a524-ba9dfbe2cb84cleanup-cruft
parent
dc87eb99e4
commit
57097c87f6
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
case ${1} in
|
||||
bound)
|
||||
[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
|
||||
[ -n "$subnet" ] && NETMASK="netmask $subnet"
|
||||
[ -n "$rootpath" ] && echo "$rootpath" > /rootpath
|
||||
#[ -n "$router" ] && echo "$router" > /router
|
||||
#[ -n "$dns" ] && echo "$dns" > /dns
|
||||
|
||||
busybox ifconfig $interface $ip $BROADCAST $NETMASK
|
||||
;;
|
||||
deconfig)
|
||||
busybox ifconfig $interface 0.0.0.0
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in new issue