History log of /openbsd-src/etc/rc.d/amd (Results 1 – 11 of 11)
Revision Date Author Comments
# ae8581a2 26-May-2022 ajacoutot <ajacoutot@openbsd.org>

Introduce a new daemon_execdir variable for changing to a specified directory
before running rc_rcexec.

Based on an proposal from openbsd.tech at aisha.cc
ok robert@ abieber@


# ed37e5ea 21-May-2022 ajacoutot <ajacoutot@openbsd.org>

${rcexec} -> rc_exec


# 99342bd4 11-Jan-2018 rpe <rpe@openbsd.org>

- change [] tests to [[]]
- change -a, -o to &&, || inside [[]]
- remove unecessary quoting inside [[]]
- remove X"" constructs inside [[]]
- remove \ (line continuation) in case of &&, || and pipes

- change [] tests to [[]]
- change -a, -o to &&, || inside [[]]
- remove unecessary quoting inside [[]]
- remove X"" constructs inside [[]]
- remove \ (line continuation) in case of &&, || and pipes
- replace backticks with $()

discussed with and OK aja@
OK tb

show more ...


# 9b592919 11-Jan-2018 rpe <rpe@openbsd.org>

Change the shebang line from /bin/sh to /bin/ksh in all base rc.d
daemon scripts.

discussed with and OK aja@
OK tb


# 49f6cf0e 15-Jul-2015 ajacoutot <ajacoutot@openbsd.org>

Fix base rc.d scripts after the recent rc.subr change.

ok halex@


# c5972bcd 01-Sep-2013 ajacoutot <ajacoutot@openbsd.org>

Properly pass daemon_flags to amd(8).

ok dcoppa@ sthen@


# bb062a26 21-Nov-2012 ajacoutot <ajacoutot@openbsd.org>

rc_restart() does not exists. What the 'restart' action does is to run
'stop' then 'start'; so to prevent this daemon from restarting itself,
rc_stop=NO is enough.

ok robert@


# f56a89da 22-Aug-2011 nicm <nicm@openbsd.org>

Read amd_master using print -rn, fixes problems if the file has multiple
lines. Problem noticed by me, this solution from halex@.

ok halex aja


# edfac5ba 16-Jul-2011 sthen <sthen@openbsd.org>

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


# e91e7483 08-Jul-2011 ajacoutot <ajacoutot@openbsd.org>

Cleanups and fixes.

ok robert@


# ac826d78 08-Jul-2011 robert <robert@openbsd.org>

Switch amd and spamlogd to rc scripts and make sure that the
rc_pre() functions are returning correctly. This change
also simplyfies the changes because false || return 1 can be replaced
with false i

Switch amd and spamlogd to rc scripts and make sure that the
rc_pre() functions are returning correctly. This change
also simplyfies the changes because false || return 1 can be replaced
with false if that's the last call. thanks halex@!

show more ...