summaryrefslogtreecommitdiff
path: root/etc/rc.d/amd
blob: 39df91c26ddb0db552d1e57658621389375cc063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/ksh
#
# $OpenBSD: amd,v 1.11 2022/05/26 11:27:03 ajacoutot Exp $

daemon="/usr/sbin/amd"
daemon_execdir="/etc/amd"

. /etc/rc.d/rc.subr

pexp="${daemon}.*"
rc_reload=NO
rc_stop=NO

rc_pre() {
	[[ -e ${amd_master} ]] || return 1
	daemon_flags="${daemon_flags} $(print -rn -- $(< ${amd_master}))"
}

rc_cmd $1