summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ipsec
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for the removal of set_rcvar() by changing the rcvar=dougb2012-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.
* Fix the typo mentioned in the PR, and one additional.dougb2009-08-231-3/+3
| | | | | | | Fix caps while I'm here. PR: conf/138087 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com>
* 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.
* o Implement the stop_boot subroutine [1]. This subroutine can be used bymtm2007-05-181-9/+1
| | | | | | | | | | | | | | | | | scripts in rc.d to stop rc(8) from booting into multi-user mode when a critical or severe error condition is encountered. o Modify scripts in etc/rc.d that already implemented this functionality independently. o Document it. [1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it to rc.subr(8). Our version differs slightly in that it takes an optional argument to stop the boot even if "autoboot" is not set. Obtained from: NetBSD MFC after: 2 weeks
* 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
* The 'reload' command did the same as 'restart' command.pjd2006-01-241-2/+0
| | | | | | Allow user to decide if SAD and SPD entries should be flushed on 'reload'. With this change flush/spdflush is not done automatically (it could still be done from ipsec.conf).
* Remove stale comment.pjd2006-01-241-2/+0
| | | | | | This change should be made in rev1.9. MFC after: 1 week
* Use $ipsec_file instead of hardcoded /etc/ipsec.conf.pjd2006-01-241-1/+1
| | | | | | This change should be made in rev1.2. MFC after: 1 week
* 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>
* setkey(8) was repo-copied from usr.sbin/ to sbin/.pjd2005-10-121-1/+1
| | | | | | This will allow for NFS mount of /usr over IPsec. Discussed on: arch@
* 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>
* Remove scripts we don't use from requirement lines. These weremtm2004-03-051-1/+1
| | | | hold-overs from the initial NetBSD import.
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-11/+2
| | | | | | | | | 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.
* tty whacking should occur early, but not so early that themtm2003-07-301-1/+1
| | | | | | required commands are not on a mounted file system. Noticed by: bde
* We stopped reloading rc.conf for each script a long time ago. Thingsmtm2003-02-161-2/+2
| | | | | | | shouldn't depend on that any more. PR: conf/48332 Approved by: markm (mentor)(implicit)
* Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation ongordon2002-09-061-1/+1
| | | | OS-dependent case switches.
* FreeBSD has setkey in different location from NetBSD.ume2002-07-311-6/+15
| | | | Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-6/+11
| | | | | | | | 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/+67
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
OpenPOWER on IntegriCloud