summaryrefslogtreecommitdiffstats
path: root/etc/defaults
Commit message (Collapse)AuthorAgeFilesLines
* Add support for cpufreq to power_profile(8). Values for on/offline cpunjl2005-02-061-2/+2
| | | | | | frequencies are specified with performance_cpu_freq and economy_cpu_freq. Of course, special values LOW and HIGH are also supported. Also, remove old throttling support.
* Add a reference to the periodic.conf(5) manual page.keramida2005-01-241-0/+3
| | | | Suggested by: simon
* Add a reference to rc.conf(5).keramida2005-01-241-1/+3
| | | | | PR: docs/35648 Submitted by: Gary W. Swearingen
* Another prism2 card (not sure what, if anything, is needed for >=5)imp2005-01-111-0/+6
| | | | Pr: 43805
* Ports index file is now INDEX-6paul2005-01-041-1/+1
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Use rc.subrbrian2004-12-151-0/+1
| | | | | PR: 72505 Submitted by: Amir Shalem <amir@active.ath.cx>
* Improve the RC framework for the clean booting/shutdown of Jails:rse2004-12-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Feature: for flexibility reasons and as a prerequisite to clean shutdowns, allow the configuration of a stop/shutdown command via rc.conf variable "jail_<name>_exec_stop" in addition to the start/boot command (rc.conf variable "jail_<name>_exec_start"). For backward compatibility reasons, rc.conf variable "jail_<name>_exec" is still supported, too. 2. Debug: Add the used boot/shutdown commands to the debug output of the /etc/rc.d/jail script, too. 3. Security: Run the Jail start/boot command in a cleaned environment to not leak information from the host to the Jail during startup. 4. Feature: Run the Jail stop/shutdown command "jail_<name>_exec_stop" on "/etc/rc.d/jail stop <name>" to allow a graceful shutdown of the Jail before its processes are just killed. 5. Bugfix: When killing the remaining Jail processes give the processes time to actually perform their termination sequence. Without this the subsequent umount(8) operations usually fail because the resources are still in use. Additionally, if after trying to TERM-inate the processes there are still processes hanging around, finally just KILL them. 6. Bugfix: In rc.shutdown, if running inside a Jail, skip the /etc/rc.d/* scripts which are flagged with the KEYWORD "nojail" to allow the correct operation of rc.shutdown under jail_<name>_exec_stop="/bin/sh /etc/rc.shutdown". This is analogous to what /etc/rc does inside a Jail. Now the following typical host-configuration for two Jails works as expected and correctly boots and shutdowns the Jails: ----------------------------------------------------------- # /etc/rc.conf: jail_enable="YES" jail_list="foo bar" jail_foo_rootdir="/j/foo" jail_foo_hostname="foo.example.com" jail_foo_ip="192.168.0.1" jail_foo_devfs_enable="YES" jail_foo_mount_enable="YES" jail_foo_exec_start="/bin/sh /etc/rc" jail_foo_exec_stop="/bin/sh /etc/rc.shutdown" jail_bar_rootdir="/j/bar" jail_bar_hostname="bar.example.com" jail_bar_ip="192.168.0.2" jail_bar_devfs_enable="YES" jail_bar_mount_enable="YES" jail_bar_exec_start="/path/to/kjailer -v" jail_bar_exec_stop="/bin/sh -c 'killall kjailer && sleep 60'" ----------------------------------------------------------- # /etc/fstab.foo /v/foo /j/foo/v/foo nullfs rw 0 0 ----------------------------------------------------------- # /etc/fstab.bar /v/bar /j/bar/v/bar nullfs rw 0 0 ----------------------------------------------------------- Reviewed by: freebsd-hackers MFC after: 2 weeks
* Add Ethernet part of Intel EtherExpress PRO/100 LAN/Modem card. This is arsm2004-12-091-1/+8
| | | | | | | | | | rebadged Xircom REM56 RealPort card. Short MFC timeout to beat the 4.11 code freeze. PR: 53027 Submitted by: John Merryweather Cooper <coop9211 at uidaho dot edu> Approved by: imp (mentor) MFC after: 2 days
* Add nfs4 to list of net filesystems.rees2004-12-011-1/+1
| | | | Approved by: alfred
* Teach periodic(8) security output to display information about blockedmlaier2004-11-241-0/+3
| | | | | | | | | | | | | | | | | | packet counts by pf(4). This adds a ``daily_status_security_pfdenied_enable'' variable to periodic.conf, which defaults to ``YES'' as the matching IPF(W) versions. The output will look like this (line wrapped): pf denied packets: > block drop log on rl0 proto tcp all [ Evaluations: 504986 Packets: 0 Bytes: 0 States: 0 ] > block drop log on rl0 all [ Evaluations: 18559 Packets: 427 Bytes: 140578 States: 0 ] Submitted by: clive (thanks a lot!) MFC after: 2 weeks
* Implement per-jail fstab(5) files. Here's a rc.conf sample usingmux2004-11-231-0/+2
| | | | | | | | | | | | | this feature for a jail named foo : jail_foo_mount_enable="YES" jail_foo_fstab="/etc/fstab.foo" The second line is actually useless, since the code defaults to using "/etc/fstab.$jailname" as the fstab file if none is specified. MFC after: 3 days Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
* Revert the noexec,nosuid,nodev options for md /tmp file systems, sincekeramida2004-11-091-1/+1
| | | | | | the change in the default behavior may break existing, working setups. Requested by: brooks
* Add two new rc.conf options: tmpmfs_flags and varmfs_flags.keramida2004-11-091-0/+2
| | | | | | | | | | | | | | These can be used to pass extra options to the mdmfs(8) utility, to customize the finer details of the md file system creation (i.e. to turn on/off softupdates, to specify a default owner for md filesystem, etc). Use these two new flags to mount tmpmfs and varmfs without softupdates, since it doesn't make much sense to use SU on malloc-backed file systems. Reviewed by: mtm Inspired by: J. D. Bronson, jbronson at wixb dot com
* Someone (sanpei-san?) sent me this entry some time ago. Add COREGAimp2004-11-081-2/+2
| | | | | FEtherII PCC-TXD to the FEther PCC-TXD entry (since they appear to be handled the same).
* Sync up with vinum(8) and rc.d/vinum removal.ru2004-11-041-1/+0
| | | | OK'ed by: phk
* Do a better job of supporting more than one mouse devicemtm2004-11-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on the system. To start/stop/check on a specific device give the device name as the second argument to the script: # /etc/rc.d/moused start ums0 To use different rc.conf(5) knobs with different mice use the device name as part of the knob. For example, if the mouse device is ums0, then: moused_ums0_enable=yes moused_ums0_flags="-z 4" moused_ums0_port="/dev/ums0" Starting rc.d/moused without the device argument will use the standard moused_* flags. So, this commit should not disrupt or change current usage. To preserve current behaviour with respect to usb mice, which appear automatically when inserted, there is a new knob, moused_nondefault_enable, which will treat any devices without rc.conf knobs as enabled. To minimize knobs in /etc/rc.conf, the device file and pid file are auto-computed, so that in the typical case for a usb mouse you don't need to add anything extra in /etc/rc.conf to get it working. Additionally, this updates /etc/usbd.conf to use the rc.d/moused script so people don't have to modify it to configure their usb mouse anymore. MFC after: 1 month
* Allow to change interfaces name on boot time.pjd2004-10-301-0/+1
| | | | | | | | | Now, one should be able to put something like this into /etc/rc.conf: ifconfig_fxp0_name="net0" ifconfig_net0="inet 10.0.0.1/16" Reviewed by: green
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Introduce root_rw_mount as a new variable in defaults/rc.conf tokeramida2004-10-201-0/+1
| | | | | | | | | unbreak /etc/rc.d/root for diskless systems that get their root filesystem from a read-only NFS mount. PR: conf/72927 Submitted by: Ralf Wenk <RZ-FreeBSD1004@fh-karlsruhe.de> Reviewed by: brooks
* Accidentally removed the last component of the pathname when committing.ru2004-10-131-1/+1
|
* Fix a botched rev. 1.221 commit. Also, a number of people haveru2004-10-131-2/+1
| | | | | | pointed out that /usr/local/etc/rc.d/000.pkgtools.sh installed with the portupgrade does an equivalent thing, so I personally would like to see the change reverted, but let David handle it.
* Remove hcsecd line which was inadvertantly included in the previous commit.des2004-10-121-1/+0
|
* Remove a pointless syslogd_flags example.des2004-10-121-1/+1
| | | | MFC after: 2 weeks
* 'portupgrade' places obsoleted shared libraries in /usr/local/lib/compat/pkg,obrien2004-10-111-1/+2
| | | | so add this the list of directories ldconfig'ed.
* Correct a trivial typo.trhodes2004-09-291-1/+1
|
* Give users the ability to load a mac_bsdextended(4) ruleset on boot (defaultstrhodes2004-09-291-0/+3
| | | | | | | to NO of course). Provide a basic ruleset file, rc.bsdextended, but allow the filename to be overridden through rc.conf. Discussed with: rwatson (awhile ago)
* Create a named chroot directory structure in /var/named, and use itdougb2004-09-281-1/+1
| | | | | | | | | | | | | | | | by default when named is enabled. Also, improve our default directory layout by creating /var/named/etc/namedb/{master|slave} directories, and use the former for the generated localhost* files. Rather than using pax to copy device entries, mount devfs in the chroot directory. There may be some corner cases where things need to be adjusted, but overall this structure has been well tested on a production network, and should serve the needs of the vast majority of users. UPDATING has instructions on how to do the conversion for those with existing configurations.
* For the default FreeBSD install, the file path actually isdougb2004-09-241-1/+1
| | | | | | /var/run/named/pid. This is done so that named can start with -u bind and still dump a pid file in that directory, which is chowned to user bind.
* It's named.pid, not named/pid.des2004-09-241-1/+1
| | | | Pointy hat to: dougb@
* Add a note to indicate that the path set in named_pidfile mustdougb2004-09-241-3/+2
| | | | | | also be set in named.conf. Our default named.conf has this already. Update the note for named_symlink_enable to indicate that ndc is gone.
* Add a knob 'daily_status_security_diff_flags' controlling thejkoshy2004-09-231-0/+1
| | | | | | | format of the 'diff' output generated during periodic(8) scripts. Submitted by: keramida (script changes) Reviewed by: keramida (man page changes)
* Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't aseanc2004-09-151-1/+4
| | | | | | | | | | | | | | 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
* Stop using ntpdate(1) in our startup proceedure. Replace ntpdate(1) withseanc2004-09-141-3/+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)
* Fix typo in description of pflog_logfile.mlaier2004-07-271-1/+1
| | | | Submitted by: Mike Jakubik
* For the gbde attach script:simon2004-07-181-0/+2
| | | | | | | | | | | - Ask the user up to X times (3 by default) for the pass-phrase, if it is incorrect the first time. - Add support for storing the lockfiles in another other directory than /etc. - Document that it is possible to override the location of each single lockfile. Approved by: pjd
* devd is now on by defaultimp2004-06-301-1/+1
| | | | Reviewed by: dfr,njr (not nate!)
* Allow setting the system console keyboard via the ${keyboard} rc.confgreen2004-06-181-0/+1
| | | | directive.
* Removed whitespace at BOF, EOL & EOF.schweikh2004-06-061-21/+21
|
* fix MELCO LPC3-TX entry.sanpei2004-06-051-0/+1
| | | | | | | | | I mistaked at 1.166. Submitted by: SARUMARU Yoshihiko <mistral@imasy.or.jp> Pointed out by: MORIYASU Hirano <m-hirano@konsei.co.jp> FreeBSD-users-jp 79808 FreeBSD-users-jp 79816
* fix typo in comment in my previous commit.ume2004-06-021-1/+1
|
* Add ip6addrctl_enable and ip6_addrctl_verbose option. Ifume2004-06-021-0/+2
| | | | | | | | | | | | ip6addrctl_enable is set to YES, address selection policy is installed into kernel. If there is /etc/ip6addrctl.conf, it is used for address selection policy. Even if there is no /etc/ip6addrctl.conf, we install default policy. In this case, if ipv6_enable is set to YES, we use address selection policy described in RFC 3484 as default. Otherwise, we install priority policy for IPv4 address. The default of ip6addrctl_enable is NO for now. However, it may better to enable it by default.
* Throw the switch and enable use of the lowest idle states while online innjl2004-05-291-1/+1
| | | | | addition to offline. This can be overridden in /etc/rc.conf if it causes trouble although this has been stable since 2003/12.
* Allow the location of the INDEX file to specified to pkg_version.joe2004-05-191-0/+1
| | | | | | | This is particularly convenient on a cluster of machines to prevent having to rebuild the INDEX file on each. Reviewed by: portmgr
* Add script for checking ipv6 blocked packets from PR.darrenr2004-04-201-0/+3
| | | | | PR: misc/50154 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
* Document devfs_set_rulesets a little.green2004-04-101-0/+2
|
* Add Xircom XEM5600 card (appears to be a renamed REM56).rsm2004-04-091-1/+23
| | | | | | Observe that Xircom CEM28 and CEM33 are known to work in Ethernet mode. Reviewed by: imp (mentor)
* Document sendmail_pidfile variable.fjoe2004-04-051-1/+3
| | | | Add sendmail_procname variable.
* Add rc.d script to start pflogd and add rcvars etc. Also document vars inmlaier2004-04-021-0/+4
| | | | | | | rc.conf(5) and put a sample entry to newsyslog.conf Reviewed by: -current Approved by: bms(mentor)
* Overhaul the /etc/rc.d/diskless script by splitting it out intobrooks2004-03-231-0/+5
| | | | | | | | | | hostname, resolve, tmp, and var scripts. The latter three are new and were repo copied. These scripts no longer depend on being booted with and NFS root instead attempt to automaticly create mfs /tmp and /var volumes if the they are not writable. This behavior can be overridden in /etc/rc.conf. Reviewed by: luigi, pjd
OpenPOWER on IntegriCloud