move dracut-shutdown.service to modules.d/98systemd
parent
36c34f4e71
commit
0fbb79d54f
2
Makefile
2
Makefile
|
|
@ -110,7 +110,7 @@ ifneq ($(enable_documentation),no)
|
||||||
endif
|
endif
|
||||||
if [ -n "$(systemdsystemunitdir)" ]; then \
|
if [ -n "$(systemdsystemunitdir)" ]; then \
|
||||||
mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
|
mkdir -p $(DESTDIR)$(systemdsystemunitdir); \
|
||||||
install -m 0644 dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir); \
|
ln -srf $(DESTDIR)$(pkglibdir)/modules.d/98systemd/dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir)/dracut-shutdown.service; \
|
||||||
mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
|
mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
|
||||||
ln -s ../dracut-shutdown.service \
|
ln -s ../dracut-shutdown.service \
|
||||||
$(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
|
$(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue