Browse Source

Properly pass daemon_flags to amd(8).

ok dcoppa@ sthen@
OPENBSD_5_5
ajacoutot 11 years ago
parent
commit
50bc440d98
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc.d/amd

+ 2
- 2
src/etc/rc.d/amd View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# $OpenBSD: amd,v 1.5 2012/11/21 08:07:33 ajacoutot Exp $
# $OpenBSD: amd,v 1.6 2013/09/01 15:02:35 ajacoutot Exp $
daemon="/usr/sbin/amd" daemon="/usr/sbin/amd"
@ -11,7 +11,7 @@ rc_stop=NO
rc_pre() { rc_pre() {
[ -e ${amd_master} ] || return 1 [ -e ${amd_master} ] || return 1
daemon_flags=$(print -rn -- $(< ${amd_master}))
daemon_flags="${daemon_flags} $(print -rn -- $(< ${amd_master}))"
} }
rc_start() { rc_start() {


Loading…
Cancel
Save