|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh |
|
|
#!/bin/sh |
|
|
# |
|
|
# |
|
|
# $OpenBSD: amd,v 1.3 2011/07/16 09:33:29 sthen Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: amd,v 1.4 2011/08/22 08:02:04 nicm Exp $ |
|
|
|
|
|
|
|
|
daemon="/usr/sbin/amd" |
|
|
daemon="/usr/sbin/amd" |
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ rc_stop=NO |
|
|
|
|
|
|
|
|
rc_pre() { |
|
|
rc_pre() { |
|
|
[ -e ${amd_master} ] || return 1 |
|
|
[ -e ${amd_master} ] || return 1 |
|
|
daemon_flags=$(cat ${amd_master}) |
|
|
|
|
|
|
|
|
daemon_flags=$(print -rn -- $(< ${amd_master})) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
rc_start() { |
|
|
rc_start() { |
|
|