diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2011-07-16 09:33:30 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2011-07-16 09:33:30 +0000 |
commit | 6d7009853c96a70d91640022dcb7b3497180c25b (patch) | |
tree | 3adc9d1e4ce85447b1b2ae50675926d875bbbf21 /etc/rc.d | |
parent | bf8e562346a9a40fcde8334aaf547489a8ecc3ad (diff) |
Start amd in /etc/amd so it can find maps in files. ok robert@
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/amd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.d/amd b/etc/rc.d/amd index ad3113db048..224144b69af 100644 --- a/etc/rc.d/amd +++ b/etc/rc.d/amd @@ -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 |