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

6 lines
133 B
Bash
Executable File

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