summaryrefslogtreecommitdiff
path: root/etc/rc.d/rpcbind
Commit message (Collapse)AuthorAgeFilesLines
* - Add descriptions to most of the rc scripts. Those are mostly taken from theirLars Engels2016-04-231-0/+1
| | | | | | | | | | | daemon's manpage and probably improved. - Consistently use "filesystem" not "file system". Approved by: bapt, brueffer Differential Revision: D452 Notes: svn path=/head/; revision=298514
* Remove remnants of BIND from /etc, since there is no BIND in base now.Gleb Smirnoff2013-11-051-1/+1
| | | | | | | | | | Sorry, that would break users running head and BIND from ports, since ports rely on these scripts. The ports will be fixed soon. Reviewed by: erwin Notes: svn path=/head/; revision=257694
* Prepare for the removal of set_rcvar() by changing the rcvar=Doug Barton2012-01-141-1/+1
| | | | | | | | | | | | | | | | | | assignments to the literal values it would have returned. The concept of set_rcvar() was nice in theory, but the forks it creates are a drag on the startup process, which is especially noticeable on slower systems, such as embedded ones. During the discussion on freebsd-rc@ a preference was expressed for using ${name}_enable instead of the literal values. However the code portability concept doesn't really apply since there are so many other places where the literal name has to be searched for and replaced. Also, using the literal value is also a tiny bit faster than dereferencing the variables, and every little bit helps. Notes: svn path=/head/; revision=230099
* Let rpcbind clean up after itselfDoug Barton2011-01-311-0/+2
| | | | Notes: svn path=/head/; revision=218142
* Add the shutdown KEYWORD to those scripts that start persistent servicesDoug Barton2008-07-161-0/+1
| | | | | | | | | | | | | | to allow them to do a "clean" shutdown. I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel. I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it. Notes: svn path=/head/; revision=180564
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesDoug Barton2007-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. Notes: svn path=/head/; revision=174438
* Remove the requirement for the FreeBSD keyword as it no longerMike Makonnen2004-10-071-1/+0
| | | | | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days Notes: svn path=/head/; revision=136224
* Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't aSean Chittenden2004-09-151-1/+1
| | | | | | | | | | | | | | | | | complete backout as the ntpd_sync_on_start etc/rc.conf tunable is still present, though the default is now NO (was YES). Since we're no longer syncing time at startup by default when ntpd is enabled (as was the case 24hrs ago), remove UPDATING entry pointing out that ntpd(1) -g is slower than ntpdate(1). Hopefully ntpd_sync_on_start="YES" can be made the default for -CURRENT after 5.3 is cut. At the very least, this should be set to YES when a user requests to have ntpd enabled via sysinstall(1). Requested by: many Notes: svn path=/head/; revision=135252
* Stop using ntpdate(1) in our startup proceedure. Replace ntpdate(1) withSean Chittenden2004-09-141-1/+1
| | | | | | | | | | | | | | | | | calls to ntpd -g. ntpd is noticably slower than ntpdate, but is also more accurate. This removes the nasty hackery in rc.d/ntpdate that would parse out ntp servers from /etc/ntp.conf (ntpd knows how to read its own config file). By default, ntpd *will* sync with its listed time servers. To turn this off so that ntpd does not sync, ntpd_sync_on_start="NO" can be added to /etc/rc.conf. If ntpd is not enabled (the default), then time is not synced on startup. ntpdate's use has been depreciated by the ntpd authors for quite some time so this change shouldn't be unexpected. Suggested by: des Approved by: roberto (resident ntp guru) Notes: svn path=/head/; revision=135194
* Remove scripts we don't use from requirement lines. These wereMike Makonnen2004-03-051-1/+1
| | | | | | | hold-overs from the initial NetBSD import. Notes: svn path=/head/; revision=126636
* Luke Mewburn has indicated that they (NetBSD) are not interestedMike Makonnen2004-01-171-6/+0
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=124622
* Luke Mewburn has indicated that they (NetBSD) are not interestedMike Makonnen2004-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. Notes: svn path=/head/; revision=124616
* Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation onGordon Tetlow2002-09-061-1/+1
| | | | | | | OS-dependent case switches. Notes: svn path=/head/; revision=103019
* Clean up the scripts to use the new variables:Gordon Tetlow2002-08-141-14/+3
| | | | | | | | | | | | | | | | | | | xntpd_* -> ntpd_* portmap_* -> rpcbind_* Also change single_mountd_enable -> mountd_enable Changing the mountd flags brings us closer to NetBSD. All of the old variable names are shimmed so you can continue to use the old variable name. Finally make /etc/rc.d/mountd no longer dependent on nfs as there are (apparently) other consumers of mountd. Submitted by: Mike Makonnen <makonnen@pacbell.net> Notes: svn path=/head/; revision=101851
* Hone the rpcbind dependency checking.Doug Barton2002-06-211-1/+1
| | | | | | | Submitted by: Mike Makonnen <makonnen@pacbell.net> Notes: svn path=/head/; revision=98585
* Anonymize the "portmap" program to get better compatibility withDoug Barton2002-06-201-1/+0
| | | | | | | | | rpcbind in -current. Submitted by: Alexander Kabaev <ak03@gte.com> Notes: svn path=/head/; revision=98486
* Merge in all the changes that Mike Makonnen has been maintaining for aGordon Tetlow2002-06-131-5/+24
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=98184
* Import the NetBSD 1.5 RC system.David E. O'Brien2001-06-161-0/+17
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names. Notes: svn path=/vendor/NetBSD/dist/; revision=78344