|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/sh |
|
|
|
# |
|
|
|
# $OpenBSD: amd,v 1.2 2011/07/08 04:29:54 ajacoutot Exp $ |
|
|
|
# $OpenBSD: amd,v 1.3 2011/07/16 09:33:29 sthen Exp $ |
|
|
|
|
|
|
|
daemon="/usr/sbin/amd" |
|
|
|
|
|
|
@ -15,4 +15,8 @@ rc_pre() { |
|
|
|
daemon_flags=$(cat ${amd_master}) |
|
|
|
} |
|
|
|
|
|
|
|
rc_start() { |
|
|
|
${rcexec} "cd /etc/amd; ${daemon} ${daemon_flags}" |
|
|
|
} |
|
|
|
|
|
|
|
rc_cmd $1 |