summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/cleanvar
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing white space. No functional changes.dougb2010-05-141-1/+1
|
* Let rc and periodic infrastructure and newsyslog use the utmpx files.ed2010-01-131-2/+2
|
* As previously discussed, add the svn:executable property to all scriptsdougb2008-07-161-0/+0
|
* Remove two superfluous trailing semicolons.rse2007-05-241-1/+1
|
* Add a dummy script, FILESYSTEMS, which depends on root and mountcritlocaldes2007-04-021-1/+1
| | | | | | | | | | | | and takes over mountcritlocal's role as the early / late divider. This makes it far easier to add rc scripts which need to run early, such as a startup script for zfs, which is right around the corner. This change should be a no-op; I have verified that the only change in rcorder's output is the insertion of FILESYSTEMS immediately after mountcritlocal. MFC after: 3 weeks
* Clear up problems with /etc/rc.d/{abi|cleanvar|cleartmp} broughtdougb2005-12-191-16/+36
| | | | | | | | | | | | | | | | | to light by the PR. Specifically, convert these three scripts into good rc.d citizens, making sure that their functionality is preserved, but the rc.d framework rules are not broken. Add support for cleanvar as a regular rc.d script in the default rc.conf, and document this in the man page. Add a descriptive comment to rc.conf that regarding the three emulation/compatibility services provided by abi so users will not be confused by these services not having their own startup scripts. PR: conf/84574 Submitted by: Alexander Botero-Lowry
* Back-out previous commit - we need to skip logging socket when we start apjd2005-08-081-0/+3
| | | | | | | | jail and external syslogd is listening in jail's chroot. Pointed out by: csjp While here, skip also "logpriv" socket.
* We don't need to skip /var/run/log socket, as syslogd is always startedpjd2005-08-071-2/+0
| | | | | after rc.d/cleanvar. And if we wanted to skip /var/run/log we still needed to skip /var/run/logpriv, which wasn't implemented.
* Do not remove logging sockets. This fixes an issue where loggingcsjp2005-04-141-0/+2
| | | | | | | | | sockets placed into prisons from the host environment get clobbered by the prison's instance of cleanvar. (assuming /etc/rc is run in the prison). Discussed with: pjd, green, cperciva MFC after: 1 week
* 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
* Overhaul the /etc/rc.d/diskless script by splitting it out intobrooks2004-03-231-1/+1
| | | | | | | | | | hostname, resolve, tmp, and var scripts. The latter three are new and were repo copied. These scripts no longer depend on being booted with and NFS root instead attempt to automaticly create mfs /tmp and /var volumes if the they are not writable. This behavior can be overridden in /etc/rc.conf. Reviewed by: luigi, pjd
* Make sure ipmon is run after cleaning up in /var. Otherwise,mtm2003-07-141-2/+1
| | | | | | | we would lose it's pid file. Also, cleanup the depencies in rc.d/cleanvar PR: bin/53516
* o Hook the new files up to the build.mtm2003-04-181-1/+1
| | | | | | o Make sure all the scripts reference rc.d/netif and not rc.d/network1 Approved by: markm (mentor)
* When cleaning /var/run make sure the control files are not removedmtm2003-02-151-1/+5
| | | | | | | | unconditionally when the script is being rerun (when it is called with the reload argument). PR: conf/47517 Approved by: markm (mentor)
* Fix style bugs:schweikh2002-10-121-1/+1
| | | | | | | | | | * 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
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-0/+48
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
OpenPOWER on IntegriCloud