diff options
Diffstat (limited to 'etc/rc.d/switchd')
-rw-r--r-- | etc/rc.d/switchd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/rc.d/switchd b/etc/rc.d/switchd new file mode 100644 index 00000000000..468ec70d689 --- /dev/null +++ b/etc/rc.d/switchd @@ -0,0 +1,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 |