- 27 Aug, 2011 2 commits
-
-
Sébastien Luttringer authored
rc.d can now take --started, --stopped, --auto, --noauto as option which help user to filter list of daemon for all actions As a corollary list command can now take a list of dameon to display All kind of arguments can be mixed to obtain the proper output. zsh and bash completion are updated Note: Output of help command exit 0 and is no more printed on stderr Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
- 19 Aug, 2011 1 commit
-
-
Dave Reisner authored
A script marked a-x will be reported as missing, when in fact it's only non-executable. Signed-off-by:
Dave Reisner <dreisner@archlinux.org>
-
- 27 Jun, 2011 1 commit
-
-
Jacob Okamoto authored
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>
-
- 18 Jun, 2011 3 commits
-
-
Sébastien Luttringer authored
By default all script should be run as root. If NEED_ROOT=0 is set before loading /etc/rc.d/functions in a rc.d scripts, this will not apply. This allow script with only some part which require root level to call need_root() function at beginning of those parts. Close FS#24095 Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
This patch allow rc.d list started and rc.d list stopped which list respectively only started and stopped daemons Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
- 05 Jun, 2011 1 commit
-
-
Dave Reisner authored
These are run from a context where PATH will be set, so defining absolute paths is unnecessary.
-
- 04 Jun, 2011 1 commit
-
-
Dave Reisner authored
Signed-off-by:
Dave Reisner <d@falconindy.com>
-
- 31 May, 2011 4 commits
-
-
Eric Bélanger authored
Signed-off-by:
Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Sébastien Luttringer authored
Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Signed-off-by:
Dave Reisner <d@falconindy.com> Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
- 21 May, 2011 2 commits
-
-
Sébastien Luttringer authored
We need to do this to allow a correct detection of terminal colors in functions sourced by rc.d scripts Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
With new name of script, vim doesn't reconize correctly file format. We need to set it explicitly. Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
- 12 May, 2011 1 commit
-
-
Sébastien Luttringer authored
- print daemon text with C_CLEAR and not C_MAIN - print rc name based on $0 (in case of renaming) Signed-off-by:
Sebastien Luttringer <seblu@seblu.net> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 10 May, 2011 1 commit
-
-
Sébastien Luttringer authored
To avoid conflict with plan9 rc shell we need to rename our rc. Original name come from debian invoke-rc.d, shortened into rc. Signed-off-by:
Sebastien Luttringer <seblu@seblu.net> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 30 Apr, 2011 1 commit
-
-
Dave Reisner authored
cc199761 assumes that /etc/rc.d scripts will exit with a value of 0 or 1. Since this can't be guaranteed, clamp the return value to 0 or 1 before adding it to the exit value. Note that a lot of /etc/rc.d scripts don't properly exit with 0 or 1, so this is more of a forward looking change in the hope that these scripts are cleaned up. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 24 Apr, 2011 3 commits
-
-
Sébastien Luttringer authored
rc helper now call rc.d scripts in root directory with a clean environment. Chosen vars came from init man page. It allows to launch scripts from the command line, as if they had been launched by init Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Dave Reisner authored
-
Dave Reisner authored
-
- 16 Apr, 2011 1 commit
-
-
Sébastien Luttringer authored
This is allow a quick calling to /etc/rc.d scripts by calling a shell command. By example, starting sshd and gpm can be done by typing: rc start sshd gpm rc can also list available scripts and show which is started/stopped in DAEMONS [tomegun: fixed detection of autostart of background services] Signed-off-by:
Sebastien Luttringer <seblu@seblu.net> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-