]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/remount-rootfs.service
units: remount file systems only if /etc/fstab actually exists
[thirdparty/systemd.git] / units / remount-rootfs.service
CommitLineData
90685f7d
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
90685f7d
LP
6# (at your option) any later version.
7
8[Unit]
9Description=Remount Root FS
10DefaultDependencies=no
11Conflicts=shutdown.target
42549a5a 12After=systemd-readahead-collect.service systemd-readahead-replay.service fsck-root.service
8266f984
LP
13Before=local-fs-pre.target local-fs.target shutdown.target
14Wants=local-fs-pre.target
e3f7277c 15ConditionPathExists=/etc/fstab
90685f7d
LP
16
17[Service]
18Type=oneshot
19RemainAfterExit=yes
20ExecStart=/bin/mount / -o remount