aboutsummaryrefslogtreecommitdiff
path: root/rc.d
AgeCommit message (Collapse)AuthorFiles
2011-06-18rc.d: Add started/stopped option to listSebastien Luttringer1
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>
2011-06-18rc.d: Update usageSebastien Luttringer1
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-06-05remove absolute paths from daemons and rc.dDave Reisner1
These are run from a context where PATH will be set, so defining absolute paths is unnecessary.
2011-06-04rc.d/rc.sysinit: whitespace cleanupDave Reisner1
Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-01Merge branch 'snowman'2011.06.1Tom Gundersen1
Conflicts: rc.d Trivial conflict with dave's eval purge. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-01rc.d: Add error message when daemon script is not foundEric Bélanger1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-05-31rc.d: print usage if not enough argumentSebastien Luttringer1
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-05-31rc.d: Remove cd from the loopSebastien Luttringer1
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-05-31rc.d: declare ENV as an arrayDave Reisner1
Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-05-21Add TERM var to rc.d cleaned envSebastien Luttringer1
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>
2011-05-21Add syntax to vim modeline in rc.d scriptSebastien Luttringer1
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>
2011-05-12Improve rc printing2011.05.2Sebastien Luttringer1
- 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>
2011-05-11Rename rc into rc.d2011.05.1Sebastien Luttringer1
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>