Age | Commit message (Collapse) | Author |
|
This patch makes the hook names unique, prefixing them all with the script name (without the 'rc.')
It also removes the explicit declarations of all elements of the array, bash assumes "" if they are uninitialized
|
|
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
|
|
the code in rc.sysinit/rc.shutdown
udev has been a dependency of initscripts for a long time, the system won't work without it anyway.
Thus remove the "Using static filesystem" message which does nothing anyway and always try to start udevd
At the same time, update the killall5 and udev start code in rc.single
|
|
Whoops!
Noticed-by: Florian Pritz <f-p@gmx.at>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
To match with commit 7f1bd75ee6aaffddf47e704c46fbab5396b7dd19
for rc.shutdown.
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: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
fixes #14437
|
|
|
|
|
|
This is an obvious oversight on my part - this change allows
the overridden functions to work in daemon scripts and
anything else that uses /etc/rc.d/functions by itself.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
|
|
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
- Code cleanup
- Added "verbose" commandline option for debugging
- Fixed #5968
- Fixed #4648
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|