summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/mountcritremote
Commit message (Collapse)AuthorAgeFilesLines
* Simply things so that "#REQUIRE: FILESYSTEMS" means the fileobrien2012-09-111-1/+1
| | | | | | | | | | | 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.
* Add the netwait rc.d script. It waits for the specified period for thedougb2011-06-191-1/+1
| | | | | | | network to become active. PR: conf/151063 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
* Make three one line changes to the rc scripts so thatrmacklem2011-06-111-1/+1
| | | | | | they work with the new NFS client being the default, since the new NFS client's module name is nfscl and not nfsclient.
* Don't say we're going to mount filesystems of a certain type unlessmtm2008-06-221-3/+9
| | | | there actually are filesystems of that type to mount.
* Generally, anything that runs rc.d scripts internally shouldmtm2008-01-261-1/+1
| | | | start using the quiet prefix (i.e. quietstart, quietstop, etc...).
* 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.
* FILESYSTEMS requires root, so requiring both of them is redundant.des2007-04-091-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
* Use $required_modules wherever suitable. Use load_kld() in specialyar2006-12-311-5/+1
| | | | cases. So we get rid of quite a few lines of duplicated code.
* 1. Add missing semicolon between "warn" and "return" to make surerse2005-12-301-3/+3
| | | | | | | | | the line continuation backslash doesn't cause "warn" to print "return". 2. Group "warn" and "return" together as the "return 1" should be performed only if the "kldload nfsclient" also failed (and not already if the "vfs.nfs" sysctl(8) check failed). MFC after: 3 days
* First start rc.d/ipsec and then rc.d/mountcritremote, so we can mountpjd2005-10-121-1/+1
| | | | | | NFS file system over IPsec. Suggested by: Tomasz PiĀ³at <tomasz.pilat@axelspringer.pl>
* "REQUIRE: cleanvar" for all RC's writing into /var/run.obrien2005-01-161-1/+1
|
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+1
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* Mark scripts as not usable inside a jail by adding keyword 'nojail'.pjd2004-03-081-1/+1
| | | | Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-49/+30
| | | | | | | | | 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.
* 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.
* Move networkfs_types from mountcritlocal into defaults/rc.conf as netfs_types.gordon2003-06-011-1/+9
| | | | | | Also add logic into mountcritremote to add extra_netfs_types to the list. This unbreaks putting smbfs, portalfs and now nwfs in fstab.
* When cleaning /var/run make sure the control files are not removedmtm2003-02-151-1/+1
| | | | | | | | 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-3/+3
| | | | | | | | | | * 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
* Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation ongordon2002-09-061-2/+2
| | | | OS-dependent case switches.
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-6/+76
| | | | | | | | 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/+19
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
OpenPOWER on IntegriCloud