aboutsummaryrefslogtreecommitdiff
path: root/rc.conf
AgeCommit message (Collapse)AuthorFiles
2012-07-24btrfs: remove USEBTRFSTom Gundersen1
This is now handled by udev. Leaving it set does no harm. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-21rc.conf: add some more references.Tom Gundersen1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-20rc.conf: reinstate some settings2012.07.3Tom Gundersen1
Keep, but comment out some settings that should be set in rc.conf, if needed. Other settings should really not be used at all. Also shuffel around the manpage a bit. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-18rc.conf: pruneTom Gundersen1
The valid options are documented in rc.conf(5). Keeping everything in the manpage means we don't have to deal with .pacnew files when updating minor detals (such as default options). Furthermore, all the removed options are recommended to be left unset. Only if you have special needs should you need to change them. This rc.conf file can be used unchanged on a basic system (with network, logging and cron). Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-01-18udev: don't override settle timeoutTom Gundersen1
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 Gundersen1
Partially-requested-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-01-01rc.conf: remove leftover commentTom Gundersen1
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 Gundersen1
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 Gundersen1
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 Gundersen1
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 Gundersen1
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 Gundersen1
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-10-18locale.sh: support /etc/locale.confTom Gundersen1
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 Gundersen1
These are only useful to a minority of users. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-25hwclock: use correct timezoneTom Gundersen1
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. Bosch1
2011-06-19network: don't enforce check for netmask or gatewayDave Reisner1
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-09[initscripts] network: Add missing broadcast addressGerardo Exequiel Pozzi1
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-05Merge remote-tracking branch 'falconindy/working'Tom Gundersen1
Conflicts: rc.sysinit Conflict with ip move away from /usr
2011-06-04rc.sysinit: kill off VERBOSE= parameterDave Reisner1
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 Gundersen1
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 Gundersen1
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-05-31net: add examplesTom Gundersen1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-05-31depraction: MOD_AUTOLOAD and MODULES blacklistingTom Gundersen1
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 Gundersen1
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 Reisner1
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 Gundersen1
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-22remove trailing whitespace in rc.confAllan McRae1
I win the price for the most trivial patch! Signed-off-by: Allan McRae <allan@archlinux.org>
2011-04-21Clarify DAEMON_LOCALE descriptionDan McGee1
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 Luttringer1
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 Luttringer1
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. Bosch1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-03-30Make hwclock --adjust as well as --systohc optional (FS#13684)Kurt J. Bosch1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-03-16Add BTRFS support in initscriptsSeblu1
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 optionSeblu1
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 ↵Seblu1
fakeraid and lvm
2011-02-27Implement FakeRAID detection at startupSeblu1
2011-02-01Remove MOD_BLACKLIST from rc.confDan McGee1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-27Allow setting the locale during boot and daemon startup.Thomas Bächler1
This is configurable by the new rc.conf option DAEMON_LOCALE.
2010-06-09network, rc.conf: Add NETWORK_PERSIST option2010.06-2Thomas Bächler1
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 McGee1
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 McGee1
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 McRae1
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 Griffin1
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ächler1
hwlock's manpage. This is contrary to the behaviour in older initscripts.
2008-02-21Remove trailing whitespaces and do some little reformattingRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-01-08Allow --directisa configuration for hwclock callsAaron Griffin1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-20Deprecate MOD_BLACKLIST via some commentsAaron Griffin1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-20Tidy up rc.confJames Rayner1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-12-17Modify comment above MOD_AUTOLOAD to indicate that it autoloadsAaron Griffin1
Some people thought the comment was unclear Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>