summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Switch from pax to tar for extracting cpio archives. pax requires abrooks2005-10-311-1/+1
| | | | | | | writable /tmp (or TMPDIR) and thus is unsuitable for this job. Tested by: Joerg Pulz <Joerg dot Pulz at frm2 dot tum dot de> PR: conf/88293
* The -x <format> option of pax is for creation of archives, notbrooks2005-10-311-1/+1
| | | | | | | | | | | extraction. This will allow cpio archive support to work, at least in situations where /tmp is writable. Because pax requires a writable /tmp it is unsuitable for this task, but replacing it will come in a later commit. Submitted by: Joerg Pulz <Joerg dot Pulz at frm2 dot tum dot de> PR: conf/88293
* Transforming "ppp-user" into just "ppp", step 5:yar2005-10-291-49/+0
| | | | Finally, delete the old, unfittingly named file "ppp-user".
* Transforming "ppp-user" into just "ppp", step 4:yar2005-10-291-1/+1
| | | | The legacy script "/etc/netstart" will start "ppp", not "ppp-user".
* Transforming "ppp-user" into just "ppp", step 3:yar2005-10-291-1/+1
| | | | Install "ppp" (just repocopied) instead of "ppp-user".
* Add some significant Ukrainian dates.ru2005-10-281-0/+2
| | | | | PR: 88076 Submitted by: Andriy Gapon
* Use ${name} in pathnames where appropriate.yar2005-10-285-7/+7
| | | | | The sendmail script already was on this way, but it didn't reach the end of it yet.
* Use:yar2005-10-282-2/+2
| | | | | | | | command="/path/to/${name}" since it's applicable here. It's the current style of rc.d. Pointed out by: pjd
* Transforming "ppp-user" into just "ppp", step 1:yar2005-10-285-5/+5
| | | | | | | | | | | The rcorder(8) condition PROVIDE'd by the script and REQUIRE'd by the others becomes "ppp". The ultimate goal of the transformation is to reduce confusion resulting from the fact that $name has been "ppp" already. Discussed with: pjd, -rc
* Override $command with $foo_program only if $commandyar2005-10-261-3/+1
| | | | | | | | | | has been set in the first place. This should reduce unwanted side-effects in rc.d scripts that don't mean to use $command and rc.subr(8) methods associated with it at all. Discussed with: brooks Reviewed by: -rc (silence)
* Document that `reload' is not provided by defaultyar2005-10-261-0/+2
| | | | yet it can be enabled when applicable.
* o Grammar.maxim2005-10-241-1/+1
| | | | | Submitted by: Ulrich Spoerlein MFC after: 1 week
* Don't be lazy, set the "command" variable even ifyar2005-10-235-0/+5
| | | | | | | | | | /etc/defaults/rc.conf will provide foo_program, too. By specifying "command" we explicitly say that we're going to rely on rc.subr(8) default methods, and rc.subr(8) will take advantage of this soon. The majority of our rc.d scripts already set "command" if appropriate, so fix just the non-compliant handful.
* wpa_supplicant(8) requires -D option for ndis(4) now.jkim2005-10-191-1/+10
|
* Allow the process name to be in square brackets ([]) in _find_processes().jhb2005-10-171-1/+1
| | | | | | PR: conf/82430 Submitted by: Pavel Volkov pol at iib dot ru MFC after: 1 week
* Remove redundant include.ru2005-10-141-1/+0
|
* First start rc.d/ipsec and then rc.d/mountcritremote, so we can mountpjd2005-10-122-2/+2
| | | | | | 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@
* Connect rc.d scripts for the hcsecd(8) and sdpd(8) daemons to the build.emax2005-10-121-1/+2
| | | | MFC after: 1 month
* Add rc.d scripts for the hcsecd(8) and sdpd(8) daemons. Put defaults intoemax2005-10-113-0/+53
| | | | | | | | | /etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices are attached to the system. Both daemons depend on Bluetooth socket layer and thus disabled by default. Bluetooth sockets layer must be either loaded as a module or compiled into kernel before the daemons can run. MFC after: 1 month
* stop RFC 4193 address on the outside interface.ume2005-10-051-0/+4
| | | | MFC after: 1 day
* Use more rc.subr bits to clean up pccard_ether and implement newbrooks2005-10-031-28/+42
| | | | | | | | features. Both the presence of a NOAUTO keyword and an interface being up can be ignored is the forcestart option is used. Additionally, a restart option has been added. Reviewed by: ume
* Add the lmcconfig tool for controlling the lmc driver. Add man pages andscottl2005-10-031-0/+2
| | | | | | glue. Submitted by: David Boggs
* Use available rc.subr features.yar2005-10-021-27/+16
| | | | | Reduce code duplication. Follow the current style of rc.d scripting.
* Record dependency on the newly introduced pfsync.yar2005-10-021-2/+2
| | | | | | | | | | | | | | Start before routing for better system protection. (pf used to start late during system boot, after many a network daemon have started already, which sucked from security POV.) Remark: For maximum security, pf should start before netif, but it would create a dependency loop because pfsync has to start after netif, yet before pf. Discussed with: mlaier on -pf MFC after: 5 days
* Add an rc.d script to start pfsync at the right moment of theyar2005-10-023-1/+57
| | | | | | | | | | | | | system boot, and hook it up in the system. The separate script is needed because in the presence of various interface lists in rc.conf ($network_interfaces, $cloned_interfaces, $sppp_interfaces, $gif_interfaces, more to come) it is hard to start them orderly, so that pfsync is brought up after its syncdev, which is required for the proper startup of pfsync. Discussed with: mlaier on -pf MFC after: 5 days
* Use rc.subr(8) appropriately:yar2005-10-021-44/+23
| | | | | | | | - utilize default methods instead of rolling local ones; - avoid to specify BEFORE conditions we don't really need (pflog will be REQUIRE'd by pf); - omit extra decoration from warning messages, warn() will decorate them sufficiently.
* o Remove unfinished code and make it possible to overridemaxim2005-10-021-14/+5
| | | | | | bsdextended_script from rc.conf(5): Not objected by: trhodes
* Fix the usage of rc_usage. The rc_usage function takesyar2005-10-011-3/+3
| | | | | | a list of possible keywords, not all them in a single argument. This also fixes the issue of extra delimiter characters appearing on the help line from rc.d scripts not setting $extra_commands.
* Use hw.machine_arch instead of hw.machine.nyan2005-09-301-1/+1
|
* Be less IPv4 centric. When checking if the interface is alreadybrooks2005-09-281-1/+1
| | | | | configured, check if the UP flag is set instead of checking for the netmask keyword.
* Make it a good-mannered rcNG script respectful to the command line.yar2005-09-281-16/+23
|
* Don't print anything if we can't do any localpkg shutdown (start alreadybrooks2005-09-271-2/+1
| | | | | | | does this). Submitted by: Andre Albsmeier <Andre dot Albsmeier at siemens dot com> PR: conf/86606
* Simplify the code by making use of 'kldstat -q -m <mod>'.pjd2005-09-242-7/+4
| | | | No objections from: mlaier
* Simplify the code a bit by using newly added (to kldstat(8) '-q') option.pjd2005-09-231-4/+1
|
* If we're not installing OpenSSH in the base, don't install its startupwollman2005-09-231-1/+6
| | | | | file either. This clears the way for third-party SSH ports to install an RCng startup script.
* Add a new rc.conf entry, kerberos5_server_flags, which allows therwatson2005-09-202-1/+2
| | | | | | | administrator to specify additional start-up flags to the Kerberos 5 Authentication Server. MFC after: 3 days
* In mountd_precmd(), use rc_args, not mountd_args torodrigc2005-09-181-2/+2
| | | | | | | | | | override the value of mountd_args. This fixes the problem where mountd_args was not properly being set if weak_mountd_authentifcation="YES" was set in rc.conf. PR: conf/86260 Submitted by: Thierry Herbelot <thierry at herbelot dot com> MFC after: 3 days
* Use sysctl -q when querying for kern.bootp_cookie in order to avoidrwatson2005-09-151-1/+1
| | | | | | printing boot-time errors that don't reflect true error conditions. MFC after: 1 week
* Use kenv -q to extract dumpdev rather than kenv, in order to avoidrwatson2005-09-131-1/+1
| | | | | | | spamming the console in the event that a loader tunable 'dumpdev' isn't defined, which is not a relevant failure to report. MFC after: 1 week
* A new version of rev. 1.4: postpone a temporary file creationmaxim2005-09-111-1/+1
| | | | | | | | until we realize if ipfw(4) ever used. PR: bin/85970 Submitted by: Andre Albsmeier MFC after: 3 days
* Comment out ofw_console 'screen' entry and zs tty entries.grehan2005-09-101-3/+3
| | | | | | | | | | The OpenFirmware console isn't used on real systems anymore and I never get to multi-user mode in psim. There are problems with zs that need to be resolved before these lines can be enabled. This eliminates disconcerting warnings on boot. MFC after: 2 days
* Teach portsnap how to ignore unwanted parts of the ports tree. A linecperciva2005-09-061-0/+6
| | | | | | | | | | | | | | | of the form "REFUSE foo" in portsnap.conf will result in parts of the tree matching "^foo" being (a) not extracted by "portsnap extract", (b) not updated by "portsnap update", and (c) not having any patches or new ports downloaded by "portsnap fetch" or "portsnap cron". The example shown in portsnap.conf demonstrates ignoring all the language categories. As mentioned in portsnap.conf.5, the use of an imcomplete ports tree is not officially supported; but this is something which many users have requested, so I'm adding it anyway. PR: bin/85619 (but not the patch provided therein) MFC after: 1 month
* In accordance with my intentions announced (and not objected to)dougb2005-09-051-6/+0
| | | | | | on -arch, and RFC 4159 (http://www.rfc-editor.org/rfc/rfc4159.txt) which officially deprecates all usage of IP6.INT, remove the reference to that zone from the example named.conf file.
* Remove duplicate "at" from comment.keramida2005-09-041-1/+1
|
* Actually block Ctrl-C (SIGINT=2).brooks2005-09-021-2/+2
| | | | | Reported by: sam Pointy hat to: brooks
* - Alwasy explicitly bring the interface up before configuring it.brooks2005-09-021-7/+17
| | | | | | | | - If an interface's ifconfig_<ifn> is set, but empty, don't set it to ifconfig_DEFAULT. This way interfaces can be disabled even in the presence of ifconfig_DEFAULT. - When listing interfaces and network_interfaces=auto, place lo0 first if it's around.
* Block SIGQUIT (Ctrl-C) while running in startup mode. This should allowbrooks2005-09-021-4/+4
| | | | | | dhclient's to be killed without stopping all boot progress. Minor cleanup of the interface list generation code.
* Add a short description of how a literal colon ':' can be inlined in thekeramida2005-08-311-0/+5
| | | | | | | value of capability databases, since it's not really obvious how a colon can be escaped, and a pointer to the getcap(3) manpage for more details. Triggered by: a question by Ceri on -questions
* Fix braino in last commit. Print nothing if ipfw(4) is not present.glebius2005-08-311-2/+2
|
OpenPOWER on IntegriCloud