|
@ -1,6 +1,6 @@ |
|
|
#!/bin/ksh |
|
|
#!/bin/ksh |
|
|
# |
|
|
# |
|
|
# $OpenBSD: switchd,v 1.3 2018/01/11 22:44:44 rpe Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: switchd,v 1.4 2019/01/21 01:41:16 claudio Exp $ |
|
|
|
|
|
|
|
|
daemon="/usr/sbin/switchd" |
|
|
daemon="/usr/sbin/switchd" |
|
|
|
|
|
|
|
@ -8,7 +8,8 @@ daemon="/usr/sbin/switchd" |
|
|
|
|
|
|
|
|
# Child will not return a config loading error to the parent. |
|
|
# Child will not return a config loading error to the parent. |
|
|
rc_pre() { |
|
|
rc_pre() { |
|
|
${daemon} -n ${daemon_flags} |
|
|
|
|
|
|
|
|
# use rcexec here since daemon_flags may contain arguments with spaces |
|
|
|
|
|
${rcexec} "${daemon} -n ${daemon_flags}" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
rc_cmd $1 |
|
|
rc_cmd $1 |