Age | Commit message (Collapse) | Author | Files |
|
This prevents a local TZ variable from breaking
daemon's when started by root. Daemon's should always
respect the system's /etc/localtime
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
Trivial simplification to make code more readable.
Removes one fork so booting should be "faster". Probably not mesureable
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Anton Fiuman <llexiw@gmail.com>
|
|
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>
|
|
Example of use:
DEPENDS=('dbus' 'acpid')
. . .
ck_depends ${DEPENDS[@]}
and those daemons will be started if not running already
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
|
|
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
|
|
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
|
|
|
|
Instead of using globbing which will fail on an empty directory, use an ls
call similar to other places in the initscripts which is not prone to
failure. (See rc.single in the daemon shutdown for example.)
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
There is no reason to use bashisms in functions, so eliminate any and use
printf instead of echo options which are not guaranteed to be implemented in
a POSIX sh.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is the easiest way to cleanup the script output on white terminals
without resorting to shutting off color.
It won't make everyone happy, though.
Ref: FS#1186
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
when tput returns exit code 3 - assume it output '8'
(as written in the /usr/share/terminfo/l/linux file)
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Converted to if/elsif form
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
(fixes #7369)
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|