|
|
@ -24,9 +24,6 @@ netif=$1 |
|
|
|
# handlers when this is not called from manually network bringing up. |
|
|
|
# handlers when this is not called from manually network bringing up. |
|
|
|
if [ -z "$2" ]; then |
|
|
|
if [ -z "$2" ]; then |
|
|
|
if [ "$netroot" = "dhcp" ] || [ "$netroot" = "dhcp6" ] ; then |
|
|
|
if [ "$netroot" = "dhcp" ] || [ "$netroot" = "dhcp6" ] ; then |
|
|
|
# Unset root so we can check later |
|
|
|
|
|
|
|
unset root |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Load dhcp options |
|
|
|
# Load dhcp options |
|
|
|
[ -e /tmp/dhclient.$netif.dhcpopts ] && . /tmp/dhclient.$netif.dhcpopts |
|
|
|
[ -e /tmp/dhclient.$netif.dhcpopts ] && . /tmp/dhclient.$netif.dhcpopts |
|
|
|
|
|
|
|
|
|
|
|