summaryrefslogtreecommitdiff
path: root/etc/rc.d/switchd
blob: 468ec70d689bff281b71ad6c546afb0fb847ba63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# $OpenBSD: switchd,v 1.1 2016/10/06 20:20:41 reyk Exp $

daemon="/usr/sbin/switchd"

. /etc/rc.d/rc.subr

# child will not return a config loading error to the parent
rc_pre() {
	${daemon} -n ${daemon_flags}
}

rc_cmd $1