summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/motd
Commit message (Collapse)AuthorAgeFilesLines
* In regards to the "Starting foo:" type messages at boot time, create anddougb2009-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | employ a more generic solution, and use it in the individual rc.d scripts that also have an $rc_quiet test: 1. Add check_startmsgs() to rc.subr. 2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute variations of [ -z "$rc_quiet" ] with check_startmsgs 3. In savecore add a trailing '.' to the end of the message to make it more consistent with other scripts. 4. In newsyslog remove a : before the terminal '.' since we do not expect there to be anything printed out in between to make it more consistent. 5. In the following scripts change "quotes" to 'quotes' where no variables exist in the message: savecore pf newsyslog 6. In the following scripts substitute if/then/fi for the simpler (and more consistent) check_startmsgs &&: faith stf 7. In the following scripts separate the "Starting foo:" from the terminal '.' to make them more consistent: moused hostname pf 8. In nfsclient move the message to its own line to avoid a style bug 9. In pf rc_quiet does not apply to the _stop method, so remove the test there. 10. In motd add 'quotes' around the terminal '.' for consistency
* Move a lot of diagnostic output behind $rc_quiet in scripts thatmtm2008-06-231-3/+3
| | | | implement their own start command.
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesdougb2007-12-081-1/+0
| | | | | with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+0
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-1/+1
| | | | | | 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.
* * Remove the OS specific bits, since NetBSD isn't interested indougb2003-10-131-21/+13
| | | | | | | | | | porting this stuff back. * Test /etc/motd for writability before trying to update it. This is especially useful when /etc/ is mounted ro, like on a diskless boot. (Thanks to phk for the idea on this one.) * Make the "updating" message reflect what actually happens.
* Have mktemp(1) construct the temporary file name for us insteadmtm2003-06-301-1/+1
| | | | | | of providing a template manually. Submitted by: Lars Eggert <larse@isi.edu>
* Move the mktemp invocation inside motd_start to avoid creating tempdougb2003-04-291-2/+2
| | | | | | files when uptdate_motd and clear_tmp_enable are both NO. Submitted by: Alex Deiter <tiamat@komi.mts.ru>
* Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation ongordon2002-09-061-2/+2
| | | | OS-dependent case switches.
* Remove debugging nitgordon2002-07-081-1/+0
| | | | Submitted by: bmah
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-5/+31
| | | | | | | | 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
* Import the NetBSD 1.5 RC system.obrien2001-06-161-0/+34
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
OpenPOWER on IntegriCloud