openvswitch: add missing basescript variable
authorStijn Tintel <stijn@linux-ipv6.be>
Wed, 28 Jul 2021 14:48:41 +0000 (17:48 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Thu, 29 Jul 2021 09:30:22 +0000 (12:30 +0300)
commit2430c4ef82a58d9a2903785a8edef7392f49bea2
tree2fc74a36272ae055ab51240cb26ec5e43df114d8
parent2104f7cd51be4e9f847ae2315d5023ba01ae078e
openvswitch: add missing basescript variable

The Open vSwitch init script does not set USE_PROCD=1. Instead, it
defines most of the functions and variables that would be set when
USE_PROCD is set to 1, but with some minor changes.

The basescript variable however, which is used when calling
procd_open_service and procd_kill, is not set. As a result, basename of
the contents of the initscript variable is used as the service name. As
the service is automatically started via its symlink in /etc/rc.d,
S15openvswitch, the service name is S15openvswitch.

Set the basescript variable so that the service name is openvswitch.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
net/openvswitch/files/openvswitch.init