Skip to content

Commit

Permalink
drop the deprecated "rc" binary
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
williamh committed Nov 15, 2023
1 parent fda9dcd commit 65b13eb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions src/openrc/meson.build
Expand Up @@ -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)
2 changes: 0 additions & 2 deletions src/openrc/rc.c
Expand Up @@ -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.
Expand Down

0 comments on commit 65b13eb

Please sign in to comment.