Ticket #80: openrc-iproute2.diff
File openrc-iproute2.diff, 0 bytes (added by Constantin Baranov <const@const.mimas.ru>, 2 years ago) |
---|
-
net/iproute2.sh
old new iproute2_pre_start() 198 198 metric=1000 199 199 200 200 ebegin "Creating tunnel ${IFVAR}" 201 ip tunnel add ${tunnel} name dev"${IFACE}"201 ip tunnel add ${tunnel} name "${IFACE}" 202 202 eend $? || return 1 203 203 _up 204 204 fi … … iproute2_post_stop() 234 234 if [ "${IFACE}" != "sit0" ]; then 235 235 if [ -n "$(ip tunnel show "${IFACE}" 2>/dev/null)" ]; then 236 236 ebegin "Destroying tunnel ${IFACE}" 237 ip tunnel del dev"${IFACE}"237 ip tunnel del "${IFACE}" 238 238 eend $? 239 239 fi 240 240 fi