102 |
local BRIDGE_PATH_COST |
local BRIDGE_PATH_COST |
103 |
local BRIDGE_PORT_PRIORITY |
local BRIDGE_PORT_PRIORITY |
104 |
|
|
105 |
|
# point-to-point support |
106 |
|
local POINTOPOINT |
107 |
|
|
108 |
source ${file} |
source ${file} |
109 |
eval value=\$$(echo ${var}) |
eval value=\$$(echo ${var}) |
110 |
echo "${value}" |
echo "${value}" |
536 |
rc_echo "[STATIC]" |
rc_echo "[STATIC]" |
537 |
ifconfig "${iface}" "${IP}" netmask "${NETMASK}" broadcast "${BROADCAST}" |
ifconfig "${iface}" "${IP}" netmask "${NETMASK}" broadcast "${BROADCAST}" |
538 |
evaluate_retval |
evaluate_retval |
539 |
|
if [[ -n ${POINTOPOINT} ]] |
540 |
|
then |
541 |
|
rc_echo "Adding point-to-point route to '${POINTOPOINT}' on interface '${iface}'" |
542 |
|
ifconfig "${iface}" "${IP}" pointopoint "${POINTOPOINT}" |
543 |
|
evaluate_retval |
544 |
|
fi |
545 |
;; |
;; |
546 |
esac |
esac |
547 |
|
|