aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/ipsec
Commit message (Collapse)AuthorAgeFilesLines
* Move rc startup scripts from etc/ to sbin/init/Brad Davis2018-07-281-60/+0
| | | | | | | | | | | This keeps most startup scripts as CONFS per discussion on src-committers from back during BSDCan. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16466 Notes: svn path=/head/; revision=336845
* Allow ipsec to run in vnet jailsKristof Provost2017-07-051-1/+1
| | | | | | | | | | ipsec is usable in vnet jails, so allow it to run there. PR: 211364 Submitted by: Matthias Meyser <meyser xenet.de> Notes: svn path=/head/; revision=320696
* - 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
* 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
* Fix the typo mentioned in the PR, and one additional.Doug Barton2009-08-231-3/+3
| | | | | | | | | | Fix caps while I'm here. PR: conf/138087 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> Notes: svn path=/head/; revision=196439
* 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
* o Implement the stop_boot subroutine [1]. This subroutine can be used byMike Makonnen2007-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 Notes: svn path=/head/; revision=169668
* FILESYSTEMS requires root, so requiring both of them is redundant.Dag-Erling Smørgrav2007-04-091-1/+1
| | | | Notes: svn path=/head/; revision=168531
* Add a dummy script, FILESYSTEMS, which depends on root and mountcritlocalDag-Erling Smørgrav2007-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 Notes: svn path=/head/; revision=168283
* The 'reload' command did the same as 'restart' command.Pawel Jakub Dawidek2006-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). Notes: svn path=/head/; revision=154772
* Remove stale comment.Pawel Jakub Dawidek2006-01-241-2/+0
| | | | | | | | | This change should be made in rev1.9. MFC after: 1 week Notes: svn path=/head/; revision=154771
* Use $ipsec_file instead of hardcoded /etc/ipsec.conf.Pawel Jakub Dawidek2006-01-241-1/+1
| | | | | | | | | This change should be made in rev1.2. MFC after: 1 week Notes: svn path=/head/; revision=154770
* First start rc.d/ipsec and then rc.d/mountcritremote, so we can mountPawel Jakub Dawidek2005-10-121-1/+1
| | | | | | | | | NFS file system over IPsec. Suggested by: Tomasz Pi³at <tomasz.pilat@axelspringer.pl> Notes: svn path=/head/; revision=151272
* setkey(8) was repo-copied from usr.sbin/ to sbin/.Pawel Jakub Dawidek2005-10-121-1/+1
| | | | | | | | | This will allow for NFS mount of /usr over IPsec. Discussed on: arch@ Notes: svn path=/head/; revision=151270
* Remove the requirement for the FreeBSD keyword as it no longerMike Makonnen2004-10-071-1/+1
| | | | | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days Notes: svn path=/head/; revision=136224
* Mark scripts as not usable inside a jail by adding keyword 'nojail'.Pawel Jakub Dawidek2004-03-081-1/+1
| | | | | | | Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org> Notes: svn path=/head/; revision=126744
* 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-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. Notes: svn path=/head/; revision=124618
* 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
* tty whacking should occur early, but not so early that theMike Makonnen2003-07-301-1/+1
| | | | | | | | | required commands are not on a mounted file system. Noticed by: bde Notes: svn path=/head/; revision=118219
* We stopped reloading rc.conf for each script a long time ago. ThingsMike Makonnen2003-02-161-2/+2
| | | | | | | | | | shouldn't depend on that any more. PR: conf/48332 Approved by: markm (mentor)(implicit) Notes: svn path=/head/; revision=111019
* 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
* FreeBSD has setkey in different location from NetBSD.Hajimu UMEMOTO2002-07-311-6/+15
| | | | | | | Submitted by: Mike Makonnen <makonnen@pacbell.net> Notes: svn path=/head/; revision=101085
* Merge in all the changes that Mike Makonnen has been maintaining for aGordon Tetlow2002-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 Notes: svn path=/head/; revision=98184
* Import the NetBSD 1.5 RC system.David E. O'Brien2001-06-161-0/+67
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