openvswitch: add missing basescript variable
[feed/packages.git] / net / openvswitch / files / openvswitch.init
index 32adbac494e166247f0846cfc133cd5f7f3af545..84ba17b6222824b304b324f90e12d9980f6de1d6 100755 (executable)
@@ -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=: