#!/bin/ksh # # $OpenBSD: switchd,v 1.4 2019/01/21 01:41:16 claudio Exp $ daemon="/usr/sbin/switchd" . /etc/rc.d/rc.subr # Child will not return a config loading error to the parent. rc_pre() { # use rcexec here since daemon_flags may contain arguments with spaces ${rcexec} "${daemon} -n ${daemon_flags}" } rc_cmd $1