aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-05-01 18:01:11 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-05-02 13:52:27 -0500
commita09a60c4cf6e390fc4c2964c4a7a3674214283ee (patch)
treecad62fbf73a64bb3c5354aba262d3ce3df6e66db /src
parent70628a875ba5ccf9fd3c9d702bc5c7471762270b (diff)
Add service applet
The service applet is equivalent to rc-service. This was added so that we will be more compatible with Debian and Fedora. Reported-by: cardoe@gentoo.org X-Gentoo-Bug: 468168 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468168
Diffstat (limited to 'src')
-rw-r--r--src/rc/Makefile2
-rw-r--r--src/rc/rc-applets.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index dcd8e5a4..a2e638e8 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -11,7 +11,7 @@ SBINDIR= ${PREFIX}/sbin
LINKDIR= ${LIBEXECDIR}
BINLINKS= rc-status
-SBINLINKS= rc-service rc-update runscript start-stop-daemon
+SBINLINKS= rc-service rc-update runscript service start-stop-daemon
RC_BINLINKS= einfon einfo ewarnn ewarn eerrorn eerror ebegin eend ewend \
eindent eoutdent esyslog eval_ecolors ewaitfile \
veinfo vewarn vebegin veend vewend veindent veoutdent \
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index 4481b083..64b6e888 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -507,6 +507,7 @@ static const struct {
{ "rc-service", rc_service, },
{ "rc-status", rc_status, },
{ "rc-update", rc_update, },
+ { "service", rc_service, },
{ "update-rc", rc_update, },
A(runscript),
{ "start-stop-daemon", start_stop_daemon, },