diff options
author | Michael Biebl <biebl@debian.org> | 2019-05-14 17:40:45 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-23 10:19:01 +0200 |
commit | 44508946534eee032927c263b79464832656dd6e (patch) | |
tree | a13085630c6d165e49045b6fc7bf86070f7c2b25 /src | |
parent | ff807cbb294d3c5811c8ddde3f035a568f4db6d7 (diff) | |
download | systemd-44508946534eee032927c263b79464832656dd6e.tar.gz |
Drop support for /usr/sbin/halt.local
/usr/sbin/halt.local is a Fedora/Red Hat anachronism from pre-systemd
times.
Diffstat (limited to 'src')
-rw-r--r-- | src/rc-local-generator/rc-local-generator.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/rc-local-generator/rc-local-generator.c b/src/rc-local-generator/rc-local-generator.c index 7a3948e92d..908e6272a8 100644 --- a/src/rc-local-generator/rc-local-generator.c +++ b/src/rc-local-generator/rc-local-generator.c @@ -65,12 +65,6 @@ static int run(const char *dest, const char *dest_early, const char *dest_late) r = add_symlink("rc-local.service", "multi-user.target"); } - if (check_executable(RC_LOCAL_SCRIPT_PATH_STOP) >= 0) { - log_debug("Automatically adding halt-local.service."); - - k = add_symlink("halt-local.service", "final.target"); - } - return r < 0 ? r : k; } |