diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-04-02 12:39:05 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-04-16 09:31:37 +0800 |
commit | 2800e50847f3217b60eb07138c7f6fda05467616 (patch) | |
tree | 1be5c6a3bca957c3a9ccbd3cd00be871189034f1 /install.sh | |
parent | 95c20bbe2252bca6ea0d929f2930cd9cbe9f84bf (diff) | |
download | initscripts-2800e50847f3217b60eb07138c7f6fda05467616.tar.xz |
Add an rc helper
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>
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,3 +21,5 @@ done gcc $CFLAGS -o minilogd minilogd.c || exit 1 install -D -m755 minilogd ${DESTDIR}/sbin/minilogd || exit 1 + +install -D -m755 rc ${DESTDIR}/sbin/rc || exit 1 |