Browse Source

Start amd in /etc/amd so it can find maps in files. ok robert@

OPENBSD_5_0
sthen 13 years ago
parent
commit
1fcd42b5d9
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/etc/rc.d/amd

+ 5
- 1
src/etc/rc.d/amd View File

@ -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

Loading…
Cancel
Save