Line
Link Here
|
0 |
-- /etc/init.d/net.lo |
0 |
++ /etc/init.d/net.lo |
Lines 661-667
Link Here
|
661 |
# but eth0 has not been loaded then the module gets loaded as |
661 |
# but eth0 has not been loaded then the module gets loaded as |
662 |
# eth0. |
662 |
# eth0. |
663 |
# Not much we can do about this :( |
663 |
# Not much we can do about this :( |
664 |
! interface_exists ${iface} && /sbin/modprobe ${iface} &>/dev/null |
664 |
if ! interface_exists ${iface} ; then |
|
|
665 |
if ! /sbin/modprobe ${iface} &>/dev/null ; then |
666 |
eerror "${iface} does not exist" |
667 |
return 1 |
668 |
fi |
669 |
else |
670 |
# There may be existing ip address info - so we strip it |
671 |
interface_del_addresses ${iface} |
672 |
fi |
665 |
|
673 |
|
666 |
# Setup variables for pre/post to use |
674 |
# Setup variables for pre/post to use |
667 |
ifvar=$( interface_variable ${iface} ) |
675 |
ifvar=$( interface_variable ${iface} ) |