void-packages/srcpkgs/openvswitch/files/ovs-vswitchd/run

7 lines
143 B
Bash
Executable File

#!/bin/sh
exec 2>&1
modprobe -q openvswitch || exit 1
sv check ovsdb-server >/dev/null || exit 1
install -d /run/openvswitch
exec ovs-vswitchd