From 2800e50847f3217b60eb07138c7f6fda05467616 Mon Sep 17 00:00:00 2001 From: Sebastien Luttringer Date: Sat, 2 Apr 2011 12:39:05 +0200 Subject: 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 Signed-off-by: Tom Gundersen --- install.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 8e6c3d7..c70a10e 100755 --- a/install.sh +++ b/install.sh @@ -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 -- cgit v1.2.3