summaryrefslogtreecommitdiff
path: root/s6/sv/checkfs/up
blob: 9dd29525bb9497f03f733c7ea354d02e00a3fbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
envfile /etc/s6/s6.conf
importas -iu FORCECHECK FORCECHECK
ifelse -X { s6-test $FORCECHCK = yes }
 {
  redirfd -w 1 /dev/console
  if { s6-echo -- "[  Checkrootfs   ] >>>>> Check of filesystem was asked, please wait" }
  foreground { fsck -A -T -a -f noopts=_netdev }
  s6-echo -- "[  Checkrootfs   ] >>>>> Check of filesystem was asked, please wait"
}
if -t {
    fsck -A -T -a noopts=_netdev
}