diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-30 23:55:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-30 23:56:12 +0200 |
commit | 198b625ba70d4c0ff72c6bc9a110832bd028273d (patch) | |
tree | c736c3577fad0e5a7d3fdf6e3ae592679018e383 | |
parent | 5edf93ec94ff80edb795e561f2b5c1b7ab68a7d8 (diff) |
units: add unit to call /bin/plymouth update-root-fs --read-write
-rw-r--r-- | Makefile.am | 10 | ||||
-rw-r--r-- | units/fedora/plymouth-read-write.service | 16 |
2 files changed, 22 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 989514d327..03a6a4e594 100644 --- a/Makefile.am +++ b/Makefile.am @@ -301,6 +301,7 @@ dist_systemunit_DATA += \ units/fedora/rc-local.service \ units/fedora/halt-local.service \ units/fedora/plymouth-start.service \ + units/fedora/plymouth-read-write.service \ units/fedora/plymouth-quit.service \ units/fedora/plymouth-reboot.service \ units/fedora/plymouth-kexec.service \ @@ -1183,13 +1184,14 @@ if TARGET_FEDORA ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ rm -f halt-local.service && \ $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) - ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ - rm -f plymouth-quit.service && \ - $(LN_S) ../plymouth-quit.service plymouth-quit.service ) ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ - rm -f plymouth-start.service systemd-ask-password-plymouth.path && \ + rm -f plymouth-start.service systemd-ask-password-plymouth.path plymouth-read-write.service && \ $(LN_S) ../plymouth-start.service plymouth-start.service && \ + $(LN_S) ../plymouth-read-write.service plymouth-read-write.service && \ $(LN_S) ../systemd-ask-password-plymouth.path systemd-ask-password-plymouth.path ) + ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ + rm -f plymouth-quit.service && \ + $(LN_S) ../plymouth-quit.service plymouth-quit.service ) ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ rm -f plymouth-reboot.service && \ $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) diff --git a/units/fedora/plymouth-read-write.service b/units/fedora/plymouth-read-write.service new file mode 100644 index 0000000000..ff2f8e440e --- /dev/null +++ b/units/fedora/plymouth-read-write.service @@ -0,0 +1,16 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +[Unit] +Description=Tell Plymouth To Write Out Runtime Data +DefaultDependencies=no +After=local-fs.target +Before=basic.target + +[Service] +ExecStart=-/bin/plymouth update-root-fs --read-write +Type=oneshot |