/[baselayout]/branches/rc-scripts-1_6/net-scripts/net.modules.d/iptunnel
Gentoo

Diff of /branches/rc-scripts-1_6/net-scripts/net.modules.d/iptunnel

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 859 Revision 860
71# 71#
72# Removes the device 72# Removes the device
73iptunnel_stop() { 73iptunnel_stop() {
74 local iface=${1} 74 local iface=${1}
75 75
76 ! interface_exists ${iface} && return 0 76 interface_exists ${iface} || return 0
77 [[ -z $( interface_tunnel show ${iface} 2>/dev/null ) ]] && return 0 77 [[ -z $( interface_tunnel show ${iface} 2>/dev/null ) ]] && return 0
78 78
79 ebegin "Destroying tunnel ${iface}" 79 ebegin "Destroying tunnel ${iface}"
80 interface_tunnel del ${iface} >${devnull} 80 interface_tunnel del ${iface} >${devnull}
81 eend $? 81 eend $?

Legend:
Removed from v.859  
changed lines
  Added in v.860

  ViewVC Help
Powered by ViewVC 1.1.20