Browse Source

move spamd to a better place; ok henning beck

OPENBSD_3_5
deraadt 21 years ago
parent
commit
422fed390b
1 changed files with 13 additions and 13 deletions
  1. +13
    -13
      src/etc/rc

+ 13
- 13
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.237 2004/03/02 16:11:10 deraadt Exp $
# $OpenBSD: rc,v 1.238 2004/03/03 01:06:44 deraadt Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -497,18 +497,6 @@ if [ "X${sendmail_flags}" != X"NO" -a -s /etc/mailer.conf ]; then
echo -n ' sendmail'; ( /usr/sbin/sendmail ${sendmail_flags} >/dev/null 2>&1 & ) echo -n ' sendmail'; ( /usr/sbin/sendmail ${sendmail_flags} >/dev/null 2>&1 & )
fi fi
if [ "X${spamd_flags}" != X"NO" ]; then
if [ "X${spamd_grey}" != X"NO" ]; then
spamd_flags="${spamd_flags} -g"
fi
echo -n ' spamd'; /usr/libexec/spamd ${spamd_flags}
/usr/libexec/spamd-setup
if [ "X${spamd_grey}" != X"NO" ]; then
echo -n ' spamlogd'
/usr/libexec/spamlogd
fi
fi
if [ "X${httpd_flags}" != X"NO" ]; then if [ "X${httpd_flags}" != X"NO" ]; then
# Clean up left-over httpd locks # Clean up left-over httpd locks
rm -f /var/www/logs/{ssl_mutex,httpd.lock,accept.lock}.* rm -f /var/www/logs/{ssl_mutex,httpd.lock,accept.lock}.*
@ -531,6 +519,18 @@ if [ X"${sshd_flags}" != X"NO" ]; then
echo -n ' sshd'; /usr/sbin/sshd ${sshd_flags}; echo -n ' sshd'; /usr/sbin/sshd ${sshd_flags};
fi fi
if [ "X${spamd_flags}" != X"NO" ]; then
if [ "X${spamd_grey}" != X"NO" ]; then
spamd_flags="${spamd_flags} -g"
fi
echo -n ' spamd'; /usr/libexec/spamd ${spamd_flags}
/usr/libexec/spamd-setup
if [ "X${spamd_grey}" != X"NO" ]; then
echo -n ' spamlogd'
/usr/libexec/spamlogd
fi
fi
# $rarpd_flags is imported from /etc/rc.conf; # $rarpd_flags is imported from /etc/rc.conf;
# If $rarpd_flags == NO or /etc/ethers doesn't exist, then # If $rarpd_flags == NO or /etc/ethers doesn't exist, then
# rarpd isn't run. # rarpd isn't run.


Loading…
Cancel
Save