aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-applets.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc-applets.c')
-rw-r--r--src/rc/rc-applets.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index e67f8c1a..539ef39a 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -362,23 +362,6 @@ static int do_shell_var(int argc, char **argv)
return EXIT_SUCCESS;
}
-static int rc_service(_unused int argc, char **argv)
-{
- char *service;
-
- if (argc < 2)
- eerrorx("%s: you need to specify a service",
- applet);
-
- if (!(service = rc_service_resolve(argv[1])))
- eerrorx("%s: service `%s' does not exist", applet, argv[1]);
-
- *++argv = service;
- execv(*argv, argv);
- eerrorx("%s: %s", applet, strerror(errno));
- /* NOTREACHED */
-}
-
void run_applets(int argc, char **argv)
{
int i = 2;