2010-10-20 00:13:23 +02:00
|
|
|
# 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=File System Check on Root Device
|
|
|
|
DefaultDependencies=no
|
|
|
|
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
2011-04-16 01:58:43 +02:00
|
|
|
Before=local-fs.target shutdown.target
|
2010-10-20 00:13:23 +02:00
|
|
|
|
2011-02-14 11:42:47 +01:00
|
|
|
# Dracut informs us with this flag file if the root fsck was already run
|
2011-03-25 05:07:20 +01:00
|
|
|
ConditionPathExists=!/run/initramfs/root-fsck
|
2011-02-14 11:42:47 +01:00
|
|
|
|
2010-10-20 00:13:23 +02:00
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=no
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-fsck
|
2011-02-15 01:28:31 +01:00
|
|
|
StandardOutput=syslog+console
|
2010-10-20 14:22:23 +02:00
|
|
|
FsckPassNo=1
|
2011-02-20 20:27:59 +01:00
|
|
|
TimeoutSec=0
|