summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a general mechanism for creating and applyingmtm2003-08-205-2/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devfs(8) rules in rc(8). It is most useful for applying rules to devfs(5) mount points in /dev or inside jails. The following line of script is sufficient to mount a relatively useful+secure devfs(5) in a jail: devfs_mount_jail /some/jail/dev Some new shell routines available to scripts that source rc.subr(5): o devfs_link - Makes it a little easier to create symlinks o devfs_init_rulesets - Create devfs(8) rulesets from devfs.rules o devfs_set_ruleset - Set a ruleset to a devfs(5) mount o devfs_apply_ruleset - Apply a ruleset to a devfs(5) mount o devfs_domount - Mount devfs(5) and apply some ruleset o devfs_mount_jail - Mount devfs(5) and apply a ruleset appropriate to jails. Additional rulesets can be specified in /etc/devfs.rules. If the devfs_system_ruleset variable is defined in rc.conf and it contains the name of a ruleset defined in /etc/defaults/devfs.rules or user supplied rulesets in /etc/devfs.rules then that ruleset will be applied to /dev at startup by the /etc/rc.d/devfs script. It can also be applied post-startup: /etc/rc.d/devfs start This is a more flexible mechanism than the previous method of using /etc/devfs.conf. However, that method is still available. Note: since devfs(8) doesn't provide any way for creating symlinks as part of a ruleset, anyone wishing to create symlinks in a devfs(5) as part of the bootup sequence will still have to rely on /etc/devfs.conf.
* Quote $jail_exec with double-quote to avoid "[: unexpected operator".kuriyama2003-08-191-1/+1
|
* include <bsd.own.mk> to get BIN{OWN,GRP}obrien2003-08-181-0/+2
|
* Don't hardcode owner 'root' and group 'wheel'.obrien2003-08-182-3/+5
| | | | Submitted by: Ulrich Spoerlein <q@uni.de>
* Prepend /lib to the search order for libraries.gordon2003-08-171-1/+1
|
* Add /lib and /libexec directories. These are part of the dynamic rootgordon2003-08-171-0/+4
| | | | support.
* Now that routes for IP over ATM may look much more complex than before,harti2003-08-142-0/+9
| | | | | | | | | use the atmconfig(8) utility instead of route(8) to install those routes. For this we need a new rc.conf variable natm_static_routes that works just like static_routes except that the referenced routes use the syntax of atmconfig(8). Okay'ed by: mtm
* Move the stop_dhcp in start_dhcp again before thembr2003-08-121-1/+1
| | | | | delay. It seems that dhclient really needs the time to get killed.
* Remove the dhclient.${interface}.pid defines. They are nowmbr2003-08-121-9/+1
| | | | | obsolete. A working dhclient with OMAPI will also not need this.
* Make this working with two or more pccards and with more thanmbr2003-08-121-32/+83
| | | | | | | | | | one internal device. Don't call the startup procedure again if we already use start. Support a manually started dhclient and keep its configured interfaces after pccard removal. Make pccard_ether working in single-user mode without /usr mounted.
* Fix typombr2003-08-121-1/+1
|
* Create a directory for ATM documentation and help files.harti2003-08-121-0/+2
|
* Improve the handling dhcp handling of pccard_ether.mbr2003-08-112-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are now many configurations which have a NIC on board, and pccard slots. If a dhclient is running on the internal nic, the Improve the handling dhcp handling of pccard_ether. Improve the dhcp handling of pccard_ether. There are now many configurations which have a NIC on board and Improve the dhcp handling of pccard_ether. There are now many configurations which have a NIC on board and cardbus slots too. If a dhclient was already running on the internal NIC, the user was forced to kill a running dhclient manually. If now a pccard is included at startup time, /etc/rc.d/dhclient start does include it into the startup list for dhcp devices. That means you can now do dhcp on the internal and the pccard devices at the same time. If the card is plugged in later, a running dhclient (working for the internal interface only) is killed, and restarted, but the interface name of the new pccard is added to the internal name. After removal, /etc/rc.d/dhclient is started again. This script does nothing if there are no devices in /etc/rc.conf This is only a workaround for a well known problem. After we have a dhcp client which handles device adding and removal, it will go away.
* Revert revision 1.25 now that mergemaster does a 'make all' to buildgshapiro2003-08-101-1/+1
| | | | | | | the required .cf file(s). Submitted by: ru X-MFC after: mergemaster MFC
* add rtsol_flags.ume2003-08-082-1/+2
| | | | MFC after: 1 week
* Add ko_KR.CP949 localeache2003-08-082-0/+6
| | | | | PR: 55341 submitted by: Hye-Shik Chang <perky@freebsd.org>
* Correct typo in Matt's name.fjoe2003-08-072-2/+2
|
* Fix typo in comments:fjoe2003-08-071-1/+1
| | | | | | /etc/syslogd.conf -> /etc/syslog.conf MFC after: 3 days
* Add entries for NETGEAR MA401RA, IO DATA PCET10CL and Panasonic KXL-CB10AN.imp2003-08-071-0/+16
| | | | Appologies to: those that submitted these to me.
* RFC 3561 (ad-hoc on-demand distance vector routing) was ratifieddcs2003-08-061-0/+2
| | | | | | | | and the ports assigned by IANA. PR: conf/55125 Submitted by: Bruce M Simpson <bms@spc.org> MFC after: 2 days
* Rename localdaemons to localpkg.mtm2003-08-064-3/+93
| | | | | | | | | | | | | The original name was really a mistake since /usr/local/etc/rc.d scripts can (and usually do) start more than just daemons. Even the output in the script uses 'local packages.' Also, the term 'local daemons' is used by rc.d/local, which was etc/rc.local of rcOG fame. No repo-copy because there isn't much history to save. I will remove localdaemons shortly with all the other files that don't belong in rc.d anymore. Discussed with: dougb, freebsd-rc@yahoogroups.com
* Support for the Amharic locale.mtm2003-08-052-0/+6
|
* Apply some sort of order to the FILES list.mtm2003-07-301-12/+33
|
* Add two files (early.sh and gbde) that previously were notmtm2003-07-301-2/+2
| | | | hooked up to the build.
* tty whacking should occur early, but not so early that themtm2003-07-305-5/+6
| | | | | | required commands are not on a mounted file system. Noticed by: bde
* Add GB18030 dirsache2003-07-292-0/+6
| | | | | PR: 51729 Submitted by: Kang Liu <liukang@bjpu.edu.cn>
* Convert the atm{2,3}.sh rc scripts to normal rc.d scripts. Add supportharti2003-07-286-215/+90
| | | | | | | | | | | | | | for the harp(4) pseudo driver and for loadable native HARP drivers (like hfa_pci). To use harp(4) the rc variable natm_interfaces must be set to the list of NATM interfaces to be used for HARP. These interfaces will be brought up with ifconfig and the harp(4) will be loaded. To use loadable native HARP drivers atm_load must be set to the list of drivers to load. Reviewed by: mtm, gordon (partly)
* Change the default for background_dhclient back to NO. It canmbr2003-07-281-1/+1
| | | | cause to much troubles with applications.
* Always start dhclient in the background.mbr2003-07-282-0/+5
| | | | Reviewed by: mtm
* auth.conf seems to be being gradually subsumed by user classesrwatson2003-07-281-5/+3
| | | | | | | | | and PAM configuration. Remove the line concerning "auth_list" from the template, since it's referenced only in the tinyware password command, and only #ifdef KERBEROS, which isn't defined in tinyware. Add a comment about auth.conf being on the way out the door. The one remaining consumer of auth.conf is crypt(3).
* Add -dynamic to natd if dhcp is used for the natd interface.mbr2003-07-271-0/+13
| | | | | | Kill natd in stop(). Reviewed by: mtm
* Define the stop command to do nothing when only a specificmtm2003-07-261-0/+1
| | | | | interface is to be stopped. In this case we don't want to go beyond releasing the lease.
* When stopping a dhcp interface, don't just release the lease onmtm2003-07-261-12/+7
| | | | | | | | | the address, also kill the dhclient process. Instead of doing the release in the stop command, move it to the precmd stage and allow rc.subr(8) to automatically kill the dhclient process by leaving the stop command undefined. Noticed by: mbr
* Missing quotes around a variable. In this case we are onlymtm2003-07-241-1/+1
| | | | | | | evaluating the $_precmd command as a string. We're not actually trying to evaluate the contents of the command. Reported by: Glenn Johnson <gjohnson@srrc.ars.usda.gov>
* Added entry for Billionton LM5LT-10Ndds2003-07-221-1/+8
| | | | | | | Fixed small typo Reviewed by: imp Approved by: imp
* Add support for DFE-670TXD to OLDCARDimp2003-07-191-0/+6
| | | | | Submitted by: David Wolfskill PR: 53356
* Move a period out of an if... clause. The period terminates themtm2003-07-151-1/+1
| | | | | | line and must always appear on the line. Submitted by: netchild
* Make sure ipmon is run after cleaning up in /var. Otherwise,mtm2003-07-142-3/+2
| | | | | | | we would lose it's pid file. Also, cleanup the depencies in rc.d/cleanvar PR: bin/53516
* Not everyone uses the base system sshd. They can use the sshd_programmtm2003-07-131-2/+6
| | | | | | | | variable in rc.conf to have sshd from ports (or somewhere else) installed. So, don't make the sshd_config for the base system a required file to start the service. PR: conf/45766
* Update for new C++ include files layout.kan2003-07-111-6/+8
|
* Continue trying to build SENDMAIL_CF if the user uses SENDMAIL_CFgshapiro2003-07-101-2/+5
| | | | | | | | | instead of SENDMAIL_MC but don't remove on it 'make clean' as the user may not have the original .mc file and removing it could be dangerous (e.g., make SENDMAIL_CF=/etc/mail/sendmail.cf clean). Noticed by: peter MFC after: 3 days
* Don't do session management in su.des2003-07-091-1/+1
| | | | | PR: misc/53293 Submitted by: ru
* Be specific about which domainname is not set. It seems the man pagemtm2003-07-096-6/+6
| | | | reference is not enough.
* Remove last vestiges of the old rc.mtm2003-07-081-138/+33
|
* Put back install/distribution dependency on the buildable .cfgshapiro2003-07-071-1/+1
| | | | | | files to get mergemaster working again. Noticed by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>
* Do not install sendmail example/infrastructure files if NO_SENDMAIL isgshapiro2003-07-061-0/+4
| | | | | | | | | defined. The only two files installed in this case are aliases (which I believe other MTAs may use) and mailer.conf (which isn't sendmail, it belongs to mailwrapper). PR: 50477 MFC after: 5 days
* Bow to popular demand and default SENDMAIL_SUBMIT_MC togshapiro2003-07-061-4/+13
| | | | | | | | | | `hostname`.submit.mc which is templated from freebsd.submit.mc if the default file does not exist. This makes the building of the submit.cf behavior identical to that of the the sendmail.cf. PR: 44256 Submitted by: Matt Emmerton <matt@gsicomp.on.ca> MFC after: 5 days
* Get rid of unneeded depend targetgshapiro2003-07-061-2/+0
| | | | | Submitted by: ru MFC after: 5 days
* - Prevent buildworld from trying to write to /etc/mail/gshapiro2003-07-061-87/+48
| | | | | | | | | | | | | - Stop 'make clean' from removing SENDMAIL_CF - install and distribute targets should not attempt to build anything - SENDMAIL_ADDITIONAL_CF were not installed in the distribution case - If SENDMAIL_SET_USER_ID was defined, submit.cf was needlessly installed in the distribution case - Collapse install and distribution target into one to remove code duplication Submitted by: ru MFC after: 5 days
* Style fixes: tab after a dependency operator should be a single spacegshapiro2003-07-062-29/+29
| | | | | | | second level indent of tab should be four spaces Submitted by: ru MFC after: 3 days
OpenPOWER on IntegriCloud