man: fix typo

Hello,

in the manpage of rc.conf there was a typo that I fixed with this patch.

Greetings,
 Christoph Vigano
functions: allow verbose output from status()

Detect -v as a parameter to status and avoid dumping everything to
/dev/null. Use this to restore error output to modprobe on loading
user-specified modules.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
functions: skip check for /proc/modules

kmod doesn't read from /proc/modules to get attributes like module init
state, and won't act up when /proc isn't mounted or if /proc/modules
doesn't exist.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Merge remote-tracking branch 'falconindy/working'
Add fastboot support

This one adds support for the "/fastboot" file, as well as the
"fastboot" kernel command line parameter. If either of them is
specified, file system checks are skipped. The only exception is the
existence of "/forcefsck" or the "forcefsck" kernel parameter which have
precedence over fastboot.

Implements FS#26154.

Reported-by: Mark <mark@voidzero.net>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Fix indentation

Indent code using tabs (instead of spaces) in all source files.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Small style cleanup

* Add whitespace to arithmetic expressions.
* Use boolean logic for semantically boolean variables.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
rc.sysinit: Remove redundant command substitution

Invoke `grep -q` and check its return value instead of checking whether
grep(1) produces non-empty output.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Update the rc.conf manpage for kmod

kmod has a modprobe.d man page not modprobe.conf

Signed-off-by: Jonathan Frazier <eyeswide@gmail.com>
deal with both valid return codes of mount -a

Signed-off-by: Tom Gundersen <teg@jklm.no>
Revert "deal with both valid return codes of mount -a"

This reverts commit fd54cc63cd6853b839d8a0d15ff7c8506743ac5a.

The correct return codes of "mount -a" are:

0 all mounts succeeded
64 some mounts succeeded and some failed
32 all mounts failed

We want to show "FAILED" on all return codes except for 0.

There is a bug in the new mount where "ignored" is taken to be
"failed", which gives some false negative. This will be fixed in
util-linux.
rc.sysinit: avoid exporting empty TIMEZONE as TZ

fixes FS#28458

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
functions: check for length before using array

This avoids passing an empty array to umount

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
network: pass -q to dhcpcd on shutdown

Avoid unnecessary output about sending a SIGTERM to the active PID.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
netfs: force umounts in order to avoid hanging on NFS

This should hopefully fix problems with umount hanging on shutdown.

FWIW, this is also what systemd does.

Signed-off-by: Tom Gundersen <teg@jklm.no>
arch-tmpfiles: allow passing specific config files

Modify our path collection loop to accept the remaining argv as paths to
config files. This overrides the default lookup for config files in
/etc, /lib, and /run so that single config files can be parsed at a time
(e.g. during package installation).

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
arch-tmpfiles: don't try to resolve numeric UIDs/GIDs

The whole point of using numeric IDs is to avoid resolution in the
passwd/group databases. If we encounter an ID which is simply numeric,
leave it alone.

Looks like I broke this in a4558c4c trying to be a bit too clever.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Merge commit 'falconindy/working^1'
localtime copy fix in to rc.conf man page

set_timezone function currently respect user choice of symlink to timezone file
or copy it. man page doesn't explain this subtlety which let think that
TIMEZONE parameter in rc.conf doesn't ensure anything.

Signed-off-by: Sébastien Luttringer <seblu@seblu.net>