Age | Commit message (Collapse) | Author | Files | |
---|---|---|---|---|
2011-04-30 | rc: exit with error count, not error sum | Dave Reisner | 1 | |
cc199761f 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> | ||||
2011-04-24 | rc: fix whitespace in case statement | Dave Reisner | 1 | |
2011-04-24 | rc: exit with a meaningful value | Dave Reisner | 1 | |
2011-04-16 | Add an rc helper | Sebastien Luttringer | 1 | |
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> |