aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2023-11-15 10:00:04 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-11-15 10:01:45 -0600
commit65b13eb86faba812aaef94623b84dfc3bdeca6c7 (patch)
treecf7a765dbe6a1ac28004d93def6fc4846051903d /src
parentfda9dcd1f2421f3ff1a366aa75f14e0141e754c5 (diff)
drop the deprecated "rc" binary
This binary is a copy of the openrc binary. Referring to it as rc was deprecated in 2016, so we should be able to drop it at this point.
Diffstat (limited to 'src')
-rw-r--r--src/openrc/meson.build9
-rw-r--r--src/openrc/rc.c2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/openrc/meson.build b/src/openrc/meson.build
index 9ab32ef4..ce4bb22b 100644
--- a/src/openrc/meson.build
+++ b/src/openrc/meson.build
@@ -6,12 +6,3 @@ executable('openrc',
include_directories: [incdir, einfo_incdir, rc_incdir],
install: true,
install_dir: sbindir)
-
-executable('rc',
- ['rc.c', 'rc-logger.c', misc_c, plugin_c, usage_c, version_h],
- c_args : cc_branding_flags,
- link_with: [libeinfo, librc],
- dependencies: [dl_dep, util_dep],
- include_directories: [incdir, einfo_incdir, rc_incdir],
- install: true,
- install_dir: sbindir)
diff --git a/src/openrc/rc.c b/src/openrc/rc.c
index 36b2e2e2..15777c60 100644
--- a/src/openrc/rc.c
+++ b/src/openrc/rc.c
@@ -837,8 +837,6 @@ int main(int argc, char **argv)
}
}
- if (strcmp(applet, "rc") == 0)
- ewarn("rc is deprecated, please use openrc instead.");
newlevel = argv[optind++];
/* To make life easier, we only have the shutdown runlevel as
* nothing really needs to know that we're rebooting.