- 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>
9 lines
181 B
Bash
Executable file
9 lines
181 B
Bash
Executable file
#!/bin/sh
|
|
|
|
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" "$@" ;;
|
|
*) exit 1;;
|
|
esac
|