diff options
| author | Yousong Zhou <yszhou4tech@gmail.com> | 2018-09-05 10:21:45 +0000 |
|---|---|---|
| committer | Yousong Zhou <yszhou4tech@gmail.com> | 2018-09-09 09:51:14 +0800 |
| commit | 76e57b333d9d3ce25fc9ce8eba52ff025d847496 (patch) | |
| tree | 0bcb637e87f1ebfb999526f93a9fd662fb2be848 /net/openvswitch/files/openvswitch.init | |
| parent | 3b6e346a4c63f20cb9b55fc6b49077ca2e995770 (diff) | |
openvswitch: multiple fixes for 2.10
- initscript: skip when ctl scripts are absent. When only ovs is
installed, this will quash error messages of ovn-ctl not found when
invoking stop
- openvswitch-common: include ovs-kmod-ctl
- patches: ovs-save: compatible with busybox ip command
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'net/openvswitch/files/openvswitch.init')
| -rwxr-xr-x | net/openvswitch/files/openvswitch.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/files/openvswitch.init b/net/openvswitch/files/openvswitch.init index 3af1b1e40..f504bb63a 100755 --- a/net/openvswitch/files/openvswitch.init +++ b/net/openvswitch/files/openvswitch.init @@ -6,8 +6,8 @@ START=15 ovs_script_dir=/usr/share/openvswitch/scripts -ovs_ctl="$ovs_script_dir/ovs-ctl" -ovn_ctl="$ovs_script_dir/ovn-ctl" +ovs_ctl="$ovs_script_dir/ovs-ctl"; [ -x "$ovs_ctl" ] || ovs_ctl=: +ovn_ctl="$ovs_script_dir/ovn-ctl"; [ -x "$ovn_ctl" ] || ovn_ctl=: EXTRA_COMMANDS=status |
