Up to [cvs.netbsd.org] / src / etc / rc.d
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.14.18.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:03 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.14: +1 -1
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 15 22:11:32 2009 UTC (3 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
HEAD
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
un-uppercase pseudodependency for the moment so as not to break pkgsrc
Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 15 22:03:54 2009 UTC (3 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.14: +2 -2
lines
Diff to previous 1.14 (colored)
uppercase pseudodependency
Revision 1.13.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 06:57:51 2007 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.13: +27 -1
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
Sync w/ NetBSD-4-RC_1
Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Aug 28 13:40:51 2007 UTC (4 years, 8 months ago) by ghen
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0
Changes since 1.13: +27 -1
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
Pull up following revision(s) (requested by pavel in ticket #845): etc/rc.d/postfix: revision 1.14 etc/defaults/rc.conf: revision 1.90 Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print a warning if it happens because the mailer in rc.conf is the removed sendmail. This prevents starting two MTAs at once if one uses a custom MTA. As proposed on tech-userlevel, approved by martin.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 27 10:59:06 2007 UTC (4 years, 8 months ago) by pavel
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base2,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
mjf-devfs,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Branch point for: jym-xensuspend
Changes since 1.13: +27 -1
lines
Diff to previous 1.13 (colored)
Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print a warning if it happens because the mailer in rc.conf is the removed sendmail. This prevents starting two MTAs at once if one uses a custom MTA. As proposed on tech-userlevel, approved by martin.
Revision 1.13 / (download) - annotate - [select for diffs], Thu Sep 7 15:26:08 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: wrstuden-fixsa,
netbsd-4
Changes since 1.12: +4 -3
lines
Diff to previous 1.12 (colored)
make postconf configurable
Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 7 14:16:55 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.11: +22 -13
lines
Diff to previous 1.11 (colored)
- find the correct newaliases program from postconf
(suggested by Geert Hendrickx)
- only check for hash files.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 5 22:10:51 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.10: +14 -11
lines
Diff to previous 1.10 (colored)
Find the alias file name from the postfix configuration. From our anonymous user.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 18 14:05:34 2006 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.9: +14 -1
lines
Diff to previous 1.9 (colored)
PR/33760: dieter roelants: a default install can't send mail due to missing aliases.db
Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 13 18:08:03 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 8 06:15:27 2004 UTC (8 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.7: +10 -4
lines
Diff to previous 1.7 (colored)
Store the full path to the /usr/sbin/postfix in $postfix_command and use the latter postfix_op() to implement start/stop/reload. (We generally use full paths in rc.d scripts.) Problem noted by Bill Squier.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 31 06:47:16 2003 UTC (9 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
Implement start_cmd as:
start_cmd="${name} "'${rc_arg}'
and stop_cmd & reload_cmd as:
stop_cmd=$start_cmd
reload_cmd=$start_cmd
(Just to be tricky)
Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 12 02:19:27 2002 UTC (10 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
fvdl_fs64_base
Changes since 1.5: +25 -8
lines
Diff to previous 1.5 (colored)
populate /var/spool/postfix/etc with /etc/{localtime,resolv.conf,services}.
per suggestion from perry.
Revision 1.4.4.1 / (download) - annotate - [select for diffs], Mon Oct 2 01:09:25 2000 UTC (11 years, 7 months ago) by lukem
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Changes since 1.4: +3 -8
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
pull up rev 1.5 (approved by thorpej): - always use $rcvar to determine the name of the var to checkyesno - fix force*
Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 19 13:04:39 2000 UTC (11 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.4: +3 -8
lines
Diff to previous 1.4 (colored)
- only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this check is performed before the pidcmd is run, speeding up scripts that weren't going to be run anyway. this should speed up booting slow systems. - take advantage of the above and remove start_precmd="checkyesno foo" in scripts that use start_cmd. - explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent rc.conf entry - fix `rcvar' and `restart' when $rcvar isn't set. these above changes fix PR [bin/11027]. - when doing `force*', ignore the return value of *_precmd. this fixes PR [bin/10781]. - rename what sysdb provides from `databases' to `sysdb', to reflect the name of the script. - improve the comments in rc.subr
Revision 1.4 / (download) - annotate - [select for diffs], Sat May 13 08:45:08 2000 UTC (12 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/* files.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 30 12:21:00 2000 UTC (12 years ago) by lukem
Branch: MAIN
Changes since 1.2: +10 -12
lines
Diff to previous 1.2 (colored)
- use checkyesno in $start_precmd and change start_cmd to `postfix start' - use $extra_commands instead of passing "reload" to run_rc_command
Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 27 20:58:26 2000 UTC (12 years, 1 month ago) by veego
Branch: MAIN
Changes since 1.1: +3 -1
lines
Diff to previous 1.1 (colored)
You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd in an rc.d script.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 26 05:28:04 2000 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
Provide rc.d support for the Postfix mail system. Committed to the base because there is no support for packages in rc.d, and Postfix is supposed to become part of the base system anyhow.