Age | Commit message (Collapse) | Author | Files |
|
|
|
All credits go to: Dave Reisner <d@falconindy.com>
|
|
|
|
|
|
|
|
kill_everything
|
|
This avoids errors if one should set the noclobber shell option somewhere (within a daemon script or some custom function).
We already had this, but it seems gone lost mostly.
|
|
When using process substitution with status(), the resulting /dev/fd/* might get lost before it is actualy used. This happens in case a custom stat_busy() forks a subshell.
|
|
Note: The code
status "$text" $command > $file
writes nothing because there's a &>/dev/null within status().
|
|
|
|
|
|
Patch to fix FS#24879, clearing terminal text formatting after
nonexistent daemon script failure in rc.d.
Signed-off-by: Jacob Okamoto <jacobokamoto@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
Thanks Dave Reisner for suggestion
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
|
|
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
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>
|
|
This is a cleanup of a commit 171da3d. We get errors because /tmp/. and /tmp/.. cannot
be deleted on boot. Send them to /dev/null.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
|
|
|
|
rc.single changes (when coming from multi-user):
* avoid settling UDev quietly as in rc.sysinit
* modules defined in rc.conf are loaded if missing
* minilogd is started before udevd as in rc.sysinit
rc.sysinit behaviour is unchanged
|
|
|
|
|
|
|
|
|
|
|
|
This also keeps all tmpfs allways. Some might be in still in use because of a running splash daemon etc.
|
|
|
|
|
|
|
|
|
|
|
|
Error/stat_fail when $TIMEZONE is invalid instead of skipping silently.
|
|
|
|
In particular, recomend against using ck_depends.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Implemented suggestions of Dave.
get_pid:
Arguments: programname
Returns: PID of program
ck_pidfile:
Arguments: PID-file programname
Returns: 0 - PID in PID-file is of program
1 - PID in PID-file is not of program
Signed-off-by: Andrwe Lord Weber <archlinux@andrwe.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
|
|
|
|
|
|
|
|
There's no way the ifup|ifdown|rtup|rtdown etc functions will ever hit
the new iproute2 based logic. Therefore, always remind the user that
this functionality is deprecated. This prevents misusage of the
functionality as seen in FS#24714.
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
In case loading modules enables a frambuffer with higher resolution than the
standard 80 columns, we recalculate the number of columns after all modules
have been loaded.
Original-patch-by: Aaron Griffin <aaronmgriffin@gmail.com>
Original-patch-by: Søren Poulsen <nikorpoulsen@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
In some cases is good to know when rc.sysinit is going to use /usr
See FS#24712
Signed-off-by: jofko <joffko@gmail.com>
[tomegun: added comment to 'functions' and changed name of hook]
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
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>
|
|
Although silly, this would positively match something such as
USRBTRFS=deadeyes
Instead, enumerate the match as a simple glob.
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
|
|
This also discards the explicit deletion of the route in network_down,
as bringing down the interface will take care of this for us.
Addresses FS#24690
Thanks-to: Matthias Dienstbier <matthias_dienstbier@yahoo.de>
Signed-off-by: Dave Reisner <d@falconindy.com>
|