From 77e8d13bfa8ba7c016af49bd306c951df7d4c324 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 12 Sep 2013 00:29:41 +0200 Subject: [PATCH] Revert "rc.local: added rc-local.service to support legacy rc.local script" This reverts commit 0e9962e47a411155a0ec5f5ff806d24a5c17298a. It was already implemented in systemd, just needed to fix rc.local path --- Makefile | 2 -- systemd/rc-local.service | 10 ---------- 2 files changed, 12 deletions(-) delete mode 100644 systemd/rc-local.service diff --git a/Makefile b/Makefile index 1fee520..0f14de3 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,6 @@ install-dirs: $(INSTALL_DIR) $(DESTDIR)$(localstatedir)/run $(INSTALL_DIR) $(DESTDIR)$(localstatedir)/log $(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/modules.d/ - $(INSTALL_DIR) $(DESTDIR)/lib/systemd/system/ $(INSTALL_DIR) $(DESTDIR)/var/spool/gdm install-files: @@ -70,7 +69,6 @@ install-files: touch $(DESTDIR)$(localstatedir)/log/{btmp,lastlog,wtmp} cp -a etc lib var $(DESTDIR) $(INSTALL_SCRIPT) sbin/* $(DESTDIR)/sbin - $(INSTALL_DATA) systemd/rc-local.service $(DESTDIR)/lib/systemd/system/rc-local.service for i in `seq 0 6`; do\ ln -sf rc.d/rc$$i.d/ $(DESTDIR)$(sysconfdir)/rc$$i.d;\ done diff --git a/systemd/rc-local.service b/systemd/rc-local.service deleted file mode 100644 index c61d589..0000000 --- a/systemd/rc-local.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=/etc/rc.local compatibility - -[Service] -Type=oneshot -ExecStart=/etc/rc.d/init.d/rc.local -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target