diff options
Diffstat (limited to 'net/openvswitch/files')
-rwxr-xr-x | net/openvswitch/files/openvswitch.init | 5 | ||||
-rwxr-xr-x | net/openvswitch/files/ovs-ctl-wrapper | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/net/openvswitch/files/openvswitch.init b/net/openvswitch/files/openvswitch.init index f504bb63a..aa1e72ac3 100755 --- a/net/openvswitch/files/openvswitch.init +++ b/net/openvswitch/files/openvswitch.init @@ -5,9 +5,8 @@ START=15 -ovs_script_dir=/usr/share/openvswitch/scripts -ovs_ctl="$ovs_script_dir/ovs-ctl"; [ -x "$ovs_ctl" ] || ovs_ctl=: -ovn_ctl="$ovs_script_dir/ovn-ctl"; [ -x "$ovn_ctl" ] || ovn_ctl=: +ovs_ctl="/usr/share/openvswitch/scripts/ovs-ctl"; [ -x "$ovs_ctl" ] || ovs_ctl=: +ovn_ctl="/usr/share/ovn/scripts/ovn-ctl"; [ -x "$ovn_ctl" ] || ovn_ctl=: EXTRA_COMMANDS=status diff --git a/net/openvswitch/files/ovs-ctl-wrapper b/net/openvswitch/files/ovs-ctl-wrapper index 88ae72429..ee717554e 100755 --- a/net/openvswitch/files/ovs-ctl-wrapper +++ b/net/openvswitch/files/ovs-ctl-wrapper @@ -4,6 +4,6 @@ s=/usr/share/openvswitch/scripts case "$0" in *ovs-ctl) "$s/ovs-ctl" "$@" ;; *ovs-kmod-ctl) "$s/ovs-kmod-ctl" "$@" ;; - *ovn-ctl) "$s/ovn-ctl" "$@" ;; + *ovn-ctl) "/usr/share/ovn/scripts/ovn-ctl" "$@" ;; *) exit 1;; esac |