projects
/
feed
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openvswitch: add missing basescript variable
[feed/packages.git]
/
net
/
openvswitch
/
files
/
openvswitch.init
diff --git
a/net/openvswitch/files/openvswitch.init
b/net/openvswitch/files/openvswitch.init
index 32adbac494e166247f0846cfc133cd5f7f3af545..84ba17b6222824b304b324f90e12d9980f6de1d6 100755
(executable)
--- a/
net/openvswitch/files/openvswitch.init
+++ b/
net/openvswitch/files/openvswitch.init
@@
-7,6
+7,8
@@
. /lib/functions/procd.sh
START=15
+basescript=$(readlink "$initscript")
+
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=: