Age | Commit message (Collapse) | Author | Files |
|
certain places
A function add_hook can be called from functions.d to register a hook function. The existing hooks
are based on suggestions from Michael Towers (larch) and on the implementation of initscripts-extras-fbsplash
which currently uses the strings passed to stat_busy and stat_done for this. More hooks can
be added if requested.
The implementation uses associative arrays and will thus only work with bash 4 or later
|
|
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>
|
|
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>
|
|
Whoops!
Noticed-by: Florian Pritz <f-p@gmx.at>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
The system-wide mount will no longer mount items in fstab marked
as _netdev (requires a network device). These _netdev items are
handled by the netfs daemon now.
Additionally, add support for glusterfs :)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Flip the order in which daemons are shutdown. First we scan for
all daemons that are NOT in rc.conf and shut those down (order is
based on ls, so it is dependent on LC_COLLATE). Afterwards, we
shut down all daemons in rc.conf, in order
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Commit 92cbc62e introduced an incomplete elif statement which caues
shutdown to fail.
Signed-off-by: Allan McRae <allan@archlinux.org>
|
|
Don't default to 'localtime' if HARDWARECLOCK is not set to UTC.
Check explicit values
Ref: FS#15263
Edited-by: Aaron Griffin <aaronmgriffin@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
This is necessary because the filesystem package doesn't currently contain this directory
|
|
- For the random-seed file location to be more "FHS compliant" is better to put in /var/lib/misc/random-seed (Variable state
information, that persists after reboot) than the /var/run/random-seed (Run-time variable data, that not necessarily persists
after reboot) for example with /var/run mounted as TMPFS.
- The random-seed file permision should be "0600" not "0644"
- The size of random-seed acording to random(4) manpage should be the size specified in "/proc/sys/kernel/random/poolsize" in
other case 512 bytes.
|
|
Just a safeguard, suggested by FS#10947
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Anton Fiuman <llexiw@gmail.com>
|
|
|
|
|
|
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
|
|
Commit 9673449ac0af77751eab62423114f27e7dbc497c added --directisa
configuration to rc.shutdown, but didn't remove the old hwclock calls and
instead just added a second call. Remove the original calls.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
simplify it a bit
|
|
|
|
|
|
finally fixed 5445
|
|
|
|
- Code cleanup
- Added "verbose" commandline option for debugging
- Fixed #5968
- Fixed #4648
|
|
was hanging). Also added a 2>/dev/null to fsck during startup
|
|
|
|
|
|
|
|
|
|
|
|
NET_PROFILES that use the same INTERFACE. They will be started one at a time, and the first successful one will be kept.
|
|
|
|
commented out the ldconfig call at startup, added support for unicode console maps, added a hotplug_ifup() function rc.d/network for hotplug's net.agent to use
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|