#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256982 |
|
23-Oct-2013 |
jmg |
MFC r256773: Enable the automatic creation of a certificate (if one does not exists) and enable the usage by sendmail if sendmail is enabled.
Reviewed by: gshapiro Approved by: re (gjb)
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
255654 |
|
17-Sep-2013 |
hrs |
- Fix pidfile handling in sendmail_msp_queue. The pidfile was ignored and multiple instances were invoked by start/stop cycles.
- Remove redundant start_cmd rewrite.
Approved by: re (gjb) Tested by: jmg
|
#
240336 |
|
11-Sep-2012 |
obrien |
Simply things so that "#REQUIRE: FILESYSTEMS" means the file systems are fully "ready to go".
'FILESYSTEMS' states: "This is a dummy dependency, for services which require file systems to be mounted before starting." However, we have 'var' which is was run after 'FILESYSTEMS' and can mount /var if it already isn't mounted. Furthermore, several scripts cannot use /var until 'cleanvar' has done its thing. Thus "FILESYSTEMS" hasn't really meant all critical file systems are fully usable.
|
#
230099 |
|
14-Jan-2012 |
dougb |
Prepare for the removal of set_rcvar() by changing the rcvar= assignments to the literal values it would have returned.
The concept of set_rcvar() was nice in theory, but the forks it creates are a drag on the startup process, which is especially noticeable on slower systems, such as embedded ones.
During the discussion on freebsd-rc@ a preference was expressed for using ${name}_enable instead of the literal values. However the code portability concept doesn't really apply since there are so many other places where the literal name has to be searched for and replaced. Also, using the literal value is also a tiny bit faster than dereferencing the variables, and every little bit helps.
|
#
180564 |
|
16-Jul-2008 |
dougb |
Add the shutdown KEYWORD to those scripts that start persistent services to allow them to do a "clean" shutdown.
I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel.
I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it.
|
#
174438 |
|
08-Dec-2007 |
dougb |
Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d files with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
|
#
170618 |
|
12-Jun-2007 |
gshapiro |
Add a new rc.conf variable, sendmail_rebuild_aliases, which tells /etc/rc.d/sendmail whether or not to run newaliases if the database is missing or the aliases text file is newer than aliases.db.
In my opinion, the aliases file should never be automatically rebuilt. The current text form could represent a work in progress. Therefore, in FreeBSD 7.0, this new option will default to "NO". When this rc.d change is MFC'ed, it will need to remain "YES" to maintain backward compatibility.
PR: conf/86252 Approved by: re (kensmith) MFC after: 3 days
|
#
151809 |
|
28-Oct-2005 |
yar |
Use ${name} in pathnames where appropriate. The sendmail script already was on this way, but it didn't reach the end of it yet.
|
#
149606 |
|
30-Aug-2005 |
gshapiro |
Be sure to execute sendmail_precmd() to check sendmail.cf conflicts and rebuild the aliases file if necessary.
PR: conf/72910 Submitted by: matteo@ MFC after: 3 days
|
#
140339 |
|
16-Jan-2005 |
obrien |
"REQUIRE: cleanvar" for all RC's writing into /var/run.
|
#
136224 |
|
07-Oct-2004 |
mtm |
Remove the requirement for the FreeBSD keyword as it no longer makes any sense.
Discussed with: dougb, brooks MFC after: 3 days
|
#
133150 |
|
05-Aug-2004 |
gshapiro |
Fix the startup logic for sendmail. If sendmail_enable=yes, don't start the submit and outbound daemon, else if sendmail_submit_enable=yes, don't start the outbound daemon. Only one daemon should be started.
Also, do not rebuild database maps at boot time. The code didn't pay attention to SENDMAIL_MAP_TYPE and assumed 'hash'. Also, admins may not want maps automatically rebuilt just because the back end database has changed. Finally, some maps are built with mode tools than just makemap (e.g., using cidrexpand on the access text file before sending it to makemap).
Noticed by: ache Reviewed by: ache
|
#
128366 |
|
17-Apr-2004 |
fjoe |
sendmail_submit_enable and sendmail_outbound_enable checks were reverted.
Found by: Morten Rodal <morten@rodal.no>
|
#
127896 |
|
05-Apr-2004 |
fjoe |
Allow this script to be used for Postfix: - Use sendmail_foo variables after load_rc_config so that they actually work. - Utilize sendmail_procname. - Check sendmail_submit_enable instead of sendmail_enable when dealing with mail submission MTA.
|
#
124622 |
|
17-Jan-2004 |
mtm |
Luke Mewburn has indicated that they (NetBSD) are not interested in keeping the scripts under rc.d in sync with us. So, remove NetBSD specific stuff (which made our scripts more complicated than necessary).
The NetBSD ident string will be left intact, both for history and also incase we wish to pull in future versions.
|
#
124616 |
|
17-Jan-2004 |
mtm |
Luke Mewburn has indicated that they (NetBSD) are not interested in keeping the scripts under rc.d in sync with us. So, begin removal of NetBSD specific stuff (which made our scripts more complicated than necessary), starting with the NetBSD KEYWORD.
|
#
104980 |
|
12-Oct-2002 |
schweikh |
Fix style bugs: * Space -> tabs conversion. * Removed blanks before semicolon in "if ... ; then". * Proper indentation of misindented lines. * Put a full stop after some comments. * Removed whitespace at end of line.
Approved by: silence from gordon
|
#
103264 |
|
12-Sep-2002 |
gordon |
Fix sendmail to use checkyesno since rc.conf is no longer re'sourced from the debug statement.
|
#
103019 |
|
06-Sep-2002 |
gordon |
Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation on OS-dependent case switches.
|
#
102864 |
|
02-Sep-2002 |
gordon |
Commit a revised sendmail script that works the same way as rc.sendmail. This should also quell warnings when sendmail_enable="NONE"
|
#
98261 |
|
15-Jun-2002 |
gordon |
Make sendmail really not start when sendmail_enable="NONE"
Submitted by: Dennis Kristensen <snicki@snicki.dk> Reviewed by: Mike Makonnen <makonnen@pacbell.net>
|
#
98184 |
|
13-Jun-2002 |
gordon |
Merge in all the changes that Mike Makonnen has been maintaining for a while. This is only the script pieces, the glue for the build comes next.
Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson
|
#
78345 |
|
16-Jun-2001 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r78344, which included commits to RCS files with non-trunk default branches.
|
#
78344 |
|
16-Jun-2001 |
obrien |
Import the NetBSD 1.5 RC system.
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
|