From 65b13eb86faba812aaef94623b84dfc3bdeca6c7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 15 Nov 2023 10:00:04 -0600 Subject: 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. --- src/openrc/meson.build | 9 --------- src/openrc/rc.c | 2 -- 2 files changed, 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. -- cgit v1.2.3