summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/motd
Commit message (Collapse)AuthorAgeFilesLines
* 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