Revert "rc.local: added rc-local.service to support legacy rc.local script"
This reverts commit 0e9962e47a
.
It was already implemented in systemd, just needed to fix rc.local path
This commit is contained in:
parent
0e9962e47a
commit
77e8d13bfa
2
Makefile
2
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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user