summaryrefslogtreecommitdiff
path: root/rc.conf
AgeCommit message (Collapse)Author
2012-02-02Merge git://projects.archlinux.org/initscriptsNicolás Reynolds
2012-01-18udev: don't override settle timeoutTom Gundersen
The Arch default was 30 but upstream default was 120. This caused problems when udev-177-3 introduced a 30 second timeout for broken kernel drivers. We don't want to do this kind of fiddling in initscripts, if there is a need for overriding the timeout this should be added upstream to udev.conf. My feeling is that this is a bad idea, as there are now at least three different kinds of timeouts at play in udev, and if they are set to something incompatible it will cause unneccesary problems. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-01-11rc.conf: waste less space and unset hostname by defaultTom Gundersen
Partially-requested-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-01-01rc.conf: remove leftover commentTom Gundersen
People should refer to the manpage. Reported-by: Andrea Scarpino <andrea@archlinux.org> Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-31rc.conf: default DAEMON_LOCALE to 'yes'Tom Gundersen
When doing the manpages, this made more sense to me, so change the default. Also, this is apparently what other distros have been doing... Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-28rc.conf: leave HARDWARECLOCK and TIMEZONE empty by defaultTom Gundersen
On a fresh install this makes sense as HARDWARECLOCK will then be set to UTC, or something else if manually specified by an hwclock invocation; TIMEZONE is left at whatever was set during install, or UTC if nothing was set at all. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-26rc.conf: add hint about manpageTom Gundersen
Since this is likely the first config file a new user will have to edit, I guess we can be generous and point out that they should look at the man page. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-26rc.conf: move most of the comments from the standard file to the manpageTom Gundersen
Having the documentation in the config file means users have to merge the config file every time we update the documentation. Also, repeating the documentation in two places means it will eventually go out of sync. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-26tweaked the default rc.conf a bitTom Gundersen
Many env vars in rc.conf can stay unset in most cases, make this clear by keeping them empty by default and recommend keeping them like that if possible. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-14Migration to metalog2011.12.14Nicolás Reynolds
2011-10-30Merge branch 'master' of git://projects.archlinux.org/initscripts2011.10.3Nicolás Reynolds
Conflicts: PKGBUILD
2011-10-18locale.sh: support /etc/locale.confTom Gundersen
This is mainly to support non-bash shells that cannot source rc.conf. The format of /etc/locale.conf is described here: <http://0pointer.de/public/systemd-man/locale.conf.html>. If LANG is not set in locale.conf, then we fall back to LOCALE from rc.conf, as before. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-09-26rc.conf: disable hwclock and netfs by defaultTom Gundersen
These are only useful to a minority of users. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-09-08Merge branch 'master' of git://projects.archlinux.org/initscripts2011.09.8Nicolás Reynolds
Conflicts: functions
2011-06-25hwclock: use correct timezoneTom Gundersen
To avoid setting the kernel timezone with an out-of-date /etc/localtime, we pass TZ directly to hwclock. Also document how TIMEZONE and HARDWARECLOCK are optional in rc.conf Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-24Fix hwclock commentsKurt J. Bosch
2011-06-19network: don't enforce check for netmask or gatewayDave Reisner
4cad51425325 removed the necessity for defining gateway, but we still continued to check for it. Remove this check, as well as the check for netmask. When not supplied, netmask will default to /24. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-10Merge branch 'master' of https://projects.archlinux.org/git/initscriptsNicolás Reynolds
2011-06-09[initscripts] network: Add missing broadcast addressGerardo Exequiel Pozzi
Without this broadcast address is not set. broadcast= parameter can be empty. In this case the broadcast address is derived by setting all of the interface host bits to one (+). Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-06-09Merge branch 'master' of https://projects.archlinux.org/git/initscriptsNicolás Reynolds
2011-06-05Merge remote-tracking branch 'falconindy/working'Tom Gundersen
Conflicts: rc.sysinit Conflict with ip move away from /usr
2011-06-04rc.sysinit: kill off VERBOSE= parameterDave Reisner
Upstream already supports this via the loglevel= parameter on the kernel cmdline, so we should support using this instead of our own homegrown solution. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-02MOD_AUTOLOAD: remove from rc.conf2011.06.2Tom Gundersen
This will no longer have any effect with the new udev package. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-01fixup: network: deprecate net-toolsTom Gundersen
Commit a3314c7697 deleted a bit too much of the comments from rc.conf. This patch restores the comments/example used by netcfg, and clarifies the comments a bit. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-01Merge branch 'master' of https://projects.archlinux.org/git/initscripts2011.06.1Nicolás Reynolds
Conflicts: functions
2011-05-31net: add examplesTom Gundersen
Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-05-31depraction: MOD_AUTOLOAD and MODULES blacklistingTom Gundersen
Add comment to note that MOD_AUTOLOAD should always be "yes" and blacklisting is no longer supported in the MODULES array. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-05-31Revert "udev: generate blacklist on boot"Tom Gundersen
This reverts commit 99d64f5789f01243903be4b32078ec38bdce75fa. We decided not to provide a compatibility layer, but rather require the user to create blacklist files in /etc/modprobe.d manually. Hence, this is no longer needed. The reason was that the compatibliy would not be 1-to-1, so it might be missleading to pretend that it was. Also, most people should not need the blacklisting in the first place. Conflicts: Makefile Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-05-22network: deprecate net-tools, add iproute2 supportDave Reisner
Provide large warnings when net-tools functionality is used. Add documentation in rc.conf for the new iproute2 based config. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-05-19udev: generate blacklist on bootTom Gundersen
udev will read /etc/modprobe.d/*.conf and blacklist all modules that are listed as blacklist <module> We parse rc.conf at boot and generate such a .conf file. It cannot be written to /etc this early, so we save it to /run. A symlink exists in /etc to get the desired functionality. With this patch (and an analogous one in mkinitcpio) load-modules.sh can be removed from the udev package without loss of significant functionality. Setting MOD_AUTOLOAD will then no longer take effect, nor will kernel parameters. Thouhgh, kernel parameters might still affect the initramfs as the implementation is independent. Original-idea-by: Benjamen Richer <br@waldteufel-online.net> Based-on-patch-by: David Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-04-25Merge branch 'master' into parabolaNicolás Reynolds
2011-04-25Parabola rebranding2011.04.1Nicolás Reynolds
2011-04-22remove trailing whitespace in rc.confAllan McRae
I win the price for the most trivial patch! Signed-off-by: Allan McRae <allan@archlinux.org>
2011-04-21Clarify DAEMON_LOCALE descriptionDan McGee
This was horribly worded, in that it seemed like one should put an actual locale value into the variable. In reality it should have been named USE_DAEMON_LOCALE, but since we can't change that now, make it very clear a 'yes' or 'no' is expected and nothing else. [tomegun: removed typo] Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-04-15Fix console verbosity and add config via rc.confSebastien Luttringer
This patch fix verbosity which use var exported by initcpio in place of kernel. Verbosity is an initscripts parameter, so it should have a definition in rc.conf. Kernel parameter should be a shortcut. New option is called VERBOSE. Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-04-13mdadm: disable SoftRAID detectionSebastien Luttringer
This job is done by recent version of mdadm in /lib/udev/rules.d/64-md-raid.rules. This will also fix FS#20117. Signed-off-by: Sebastien Luttringer <seblu@seblu.net> Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-03-30Change hardware clock default to UTCKurt J. Bosch
Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-03-30Make hwclock --adjust as well as --systohc optional (FS#13684)Kurt J. Bosch
Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-03-16Add BTRFS support in initscriptsSeblu
Use btrfs instead of btrfsctl. See: https://btrfs.wiki.kernel.org/index.php/FAQ#How_do_I_do....3F Close FS#19792 Signed-off-by: Seblu <seblu@seblu.net>
2011-03-16Add UDEV_TIMEOUT optionSeblu
This allow to set a custom timeout for udev events processing. Close FS#20764 Signed-off-by: Seblu <seblu@seblu.net>
2011-02-27Software RAID detection is now triggered via USEMDADM config var like ↵Seblu
fakeraid and lvm
2011-02-27Implement FakeRAID detection at startupSeblu
2011-02-01Remove MOD_BLACKLIST from rc.confDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-27Allow setting the locale during boot and daemon startup.Thomas Bächler
This is configurable by the new rc.conf option DAEMON_LOCALE.
2010-06-09network, rc.conf: Add NETWORK_PERSIST option2010.06-2Thomas Bächler
Setting NETWORK_PERSIST="yes" will skip network shutdown. This is needed to cleanly halt or reboot the systemif your root device is on NFS. It does not affect network profiles.
2009-08-22Allow skipping of all hardware clock adjustmentsDan McGee
For virtualized machines, the hardware clock doesn't actually exist, so all hwclock calls fail and print error messages during system startup, shutdown, and the hourly adjtime cronjob. By explicitly looking for HARDWARECLOCK to be set to 'UTC' or 'localtime', all other values will result in hwclock calls being skipped (e.g. set the variable to 'none'). Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-22Remove USEDIRECTISA and associated codeDan McGee
man hwclock implies this option is rarely necessary, and (almost) all systems Arch supports surely have a /dev/rtc device and load the rtc driver in the kernel. Even if this is not available, hwclock will fall back to direct I/O requests anyway. As a side note, the adjtime cronjob didn't even respect this setting anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-07Consistent capitalization of localeAllan McRae
Make the capitalization "UTF-8" part of the locale field in rc.conf match that used in /etc/locale.gen (FS#15825) Signed-off-by: Allan McRae <allan@archlinux.org>
2009-06-30rc.conf: Switch to dhcp by defaultAaron Griffin
More of a sane default. Static config left as example Ref: FS#12670 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-06Make USEDIRECTISA default to no, which is a sane default according to ↵Thomas Bächler
hwlock's manpage. This is contrary to the behaviour in older initscripts.