Commit 90685f7d authored by Lennart Poettering's avatar Lennart Poettering
Browse files

units: add service file that remounts the root file system

parent 1afbdcb0
......@@ -161,6 +161,7 @@ dist_systemunit_DATA = \
units/hwclock-load.service \
units/hwclock-save.service \
units/sysctl.service \
units/remount-rootfs.service \
units/printer.target \
units/bluetooth.target \
units/smartcard.target
......
# 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=Remount Root FS
DefaultDependencies=no
Conflicts=shutdown.target
Before=shutdown.target local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/mount / -o remount
[Install]
WantedBy=sysinit.target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment