Line
Link Here
|
0 |
-- /etc/init.d/net.lo |
0 |
++ /etc/init.d/net.lo |
Lines 557-563
Link Here
|
557 |
fi |
557 |
fi |
558 |
# We need to test to see if it's an IP address or a function |
558 |
# We need to test to see if it's an IP address or a function |
559 |
# We do this by testing if the 1st character is a digit |
559 |
# We do this by testing if the 1st character is a digit |
560 |
elif [[ ${conf[0]:0:1} == [[:digit:]] ]]; then |
560 |
elif [[ ${conf[0]:0:1} == [[:digit:]] || ${conf[0]} == *:* ]]; then |
561 |
x=0 |
561 |
x=0 |
562 |
# if [[ $(type -t address_exists ) == function ]]; then |
562 |
# if [[ $(type -t address_exists ) == function ]]; then |
563 |
# if address_exists ${iface} ${conf[0]} ; then |
563 |
# if address_exists ${iface} ${conf[0]} ; then |