]>
Commit | Line | Data |
---|---|---|
335aa753 LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # systemd is free software; you can redistribute it and/or modify it | |
4 | # under the terms of the GNU General Public License as published by | |
5 | # the Free Software Foundation; either version 2 of the License, or | |
6 | # (at your option) any later version. | |
7 | ||
8 | [Unit] | |
9 | Description=File System Check on Root Device | |
10 | DefaultDependencies=no | |
11 | After=systemd-readahead-collect.service systemd-readahead-replay.service | |
42549a5a | 12 | Before=local-fs.target shutdown.target |
335aa753 | 13 | |
7a57b332 | 14 | # Dracut informs us with this flag file if the root fsck was already run |
2b583ce6 | 15 | ConditionPathExists=!/run/initramfs/root-fsck |
7a57b332 | 16 | |
335aa753 LP |
17 | [Service] |
18 | Type=oneshot | |
19 | RemainAfterExit=no | |
20 | ExecStart=@rootlibexecdir@/systemd-fsck | |
48774cf6 | 21 | StandardOutput=syslog+console |
2ba545f1 | 22 | FsckPassNo=1 |
80f7378c | 23 | TimeoutSec=0 |