aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2011-07-07changing _rd.d to _rc_d to avoid:derhoch1
/etc/bash_completion.d/rc.d: line 19: `_rc.d': not a valid identifier Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-06-28rc.sysinit: Add status output for mtab and dmesg.log creationKurt J. Bosch1
2011-06-28rc.sysinit: Refactor /etc/mtab symlink detection to avoid empty if clauseKurt J. Bosch1
2011-06-28Move export PATH into functionsKurt J. Bosch3
Also sanitze the PATH for rc.single, rc.multi, rc.local and daemons.
2011-06-28functions: Make activate_vgs return 0 if noop for consistencyKurt J. Bosch1
2011-06-28Move activate_vgs and crypt stat_busy to the top for consistencyKurt J. Bosch2
2011-06-28Move fsck executable check into fsck_all() for consistencyKurt J. Bosch2
2011-06-28rc.sysinit: Get rid of evalKurt J. Bosch1
2011-06-28Refactor to get rid of simple if-constuctsKurt J. Bosch2
2011-06-28functions: Simplify kill_everything() omit_pid handlingKurt J. Bosch1
All credits go to: Dave Reisner <d@falconindy.com>
2011-06-28functions: Simplify ck_depends() for statementKurt J. Bosch1
2011-06-28Add some commentsKurt J. Bosch2
2011-06-28functions: Define $fsckret read-only because exposed to hookKurt J. Bosch1
2011-06-28Fix local statements missing in ck_depends, ck_pidfile, do_unlock, ↵Kurt J. Bosch2
kill_everything
2011-06-28Fix '>|' not used allways when redirecting to filesKurt J. Bosch2
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.
2011-06-28rc.sysinit: Fix setting localeKurt J. Bosch1
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.
2011-06-28rc.sysinit: Fix writing to /dev/urandomKurt J. Bosch1
Note: The code status "$text" $command > $file writes nothing because there's a &>/dev/null within status().
2011-06-28functions: Fix indentationKurt J. Bosch1
2011-06-28Fix whitespaceKurt J. Bosch2
2011-06-27rc.d: clear text formatting after errorJacob Okamoto1
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>
2011-06-27Merge remote-tracking branch 'seblu/master'Tom Gundersen1
2011-06-27Use _get_comp_words_by_ref in bash completionSebastien Luttringer1
Thanks Dave Reisner for suggestion Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-06-25network: don't warn for deprecation with no settingsDave Reisner1
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-25hwclock: show statusTom Gundersen1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-25hwclock: use correct timezoneTom Gundersen2
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>
2011-06-25trivial: silence errorsTom Gundersen1
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>
2011-06-24Simplify /etc/profile.d/locale.sh creationKurt J. Bosch1
2011-06-24Get rid of simple if-constucts by using '&&'Kurt J. Bosch3
2011-06-24rc.multi/rc.single: Merge duplicated bootlogd stop code into a functionKurt J. Bosch3
2011-06-24rc.sysinit/rc.single: Merge UDev stuff into a functionKurt J. Bosch3
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
2011-06-24Simplify in_array functionKurt J. Bosch1
2011-06-24Some more cosmeticsKurt J. Bosch3
2011-06-24Simplify random seed file creationKurt J. Bosch1
2011-06-24Fix bootlogd not stopped when booting into runlevel '1'Kurt J. Bosch1
2011-06-24rc.single: Avoid rc.multi syslog start error - use minilogd as in rc.sysinitKurt J. Bosch1
2011-06-24Simplify unmounting filesystemsKurt J. Bosch1
This also keeps all tmpfs allways. Some might be in still in use because of a running splash daemon etc.
2011-06-24Simplify rc.single udevadm stuff as in rc.sysinitKurt J. Bosch1
2011-06-24Some cosmeticsKurt J. Bosch3
2011-06-24Simplify API filesystems mountingKurt J. Bosch1
2011-06-24Simplify keyboard map loading by using loadkeys autodetectionKurt J. Bosch1
2011-06-24Simplify creating files by using /bin/installKurt J. Bosch1
2011-06-24Simplify timezone copyingKurt J. Bosch2
Error/stat_fail when $TIMEZONE is invalid instead of skipping silently.
2011-06-24Fix hwclock commentsKurt J. Bosch2
2011-06-23functions: warn if daemons are started recursivelyTom Gundersen1
In particular, recomend against using ck_depends. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-23added get_pid() and ck_pidfile() (FS#18654)Andrwe Lord Weber1
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>
2011-06-22Move mount -a into functions to allow custom override (fsck on loop)Kurt J. Bosch2
2011-06-22Allow custom fsck on shutdown via hook (FS#18736)Kurt J. Bosch3
2011-06-22Simplify fsck functionsKurt J. Bosch1
2011-06-22Move fsck stuff into functions to allow custom overrides (FS#18736)Kurt J. Bosch2
2011-06-20Merge remote-tracking branch 'falconindy/working'Tom Gundersen2