aboutsummaryrefslogtreecommitdiff
path: root/src/rc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-04 15:05:12 +0000
committerRoy Marples <roy@marples.name>2007-08-04 15:05:12 +0000
commit3e5526fd764a2701575e73e88293933c4e7bbd45 (patch)
tree9e1676d3711ad3bcceeed2c20781efbe19bcb3dd /src/rc.c
parent9169c51d39ed17b98f6617f89fdf9d01723bff52 (diff)
Fix rc-update, #187487 and release rc2.
Diffstat (limited to 'src/rc.c')
-rw-r--r--src/rc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rc.c b/src/rc.c
index c226f805..cb13c850 100644
--- a/src/rc.c
+++ b/src/rc.c
@@ -717,6 +717,9 @@ int main (int argc, char **argv)
exit (rc_depend (argc, argv));
else if (strcmp (applet, "rc-status") == 0)
exit (rc_status (argc, argv));
+ else if (strcmp (applet, "rc-update") == 0 ||
+ strcmp (applet, "update-rc") == 0)
+ exit (rc_update (argc, argv));
else if (strcmp (applet, "runscript") == 0)
exit (runscript (argc, argv));
else if (strcmp (applet, "start-stop-daemon") == 0)