void-packages/srcpkgs/openvswitch/files/ovs-vswitchd/run
classabbyamp 351646d5bd *: add exec 2>&1 to all existing services
except when it already exists, of course
2023-02-09 21:36:13 -05:00

6 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