From 13fef6dbe03f06ede0ae82e0eabb871fb8895ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6ppner?= Date: Thu, 12 May 2022 19:04:03 +0200 Subject: [PATCH] dumpconf: Move dumpconf tool to scripts directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modern distributions use systemd and a corresponding systemd unit file is provided that handles the dumpconf tool. The tool is also the last script left in etc/init.d. Move it to scripts and get rid of the init.d directory altogether. Acked-by: Stefan Haberland Signed-off-by: Jan Höppner --- {etc/init.d => scripts}/dumpconf | 0 systemd/Makefile | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {etc/init.d => scripts}/dumpconf (100%) diff --git a/etc/init.d/dumpconf b/scripts/dumpconf similarity index 100% rename from etc/init.d/dumpconf rename to scripts/dumpconf diff --git a/systemd/Makefile b/systemd/Makefile index 1097d9b1..e8cdd880 100644 --- a/systemd/Makefile +++ b/systemd/Makefile @@ -19,7 +19,7 @@ install: system_units -m 644 $$unit $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) ; \ done # For systemd install dumpconf to TOOLS_LIBDIR - $(INSTALL) -m 755 ../etc/init.d/dumpconf $(DESTDIR)$(TOOLS_LIBDIR) + $(INSTALL) -m 755 ../scripts/dumpconf $(DESTDIR)$(TOOLS_LIBDIR) else