#!/bin/bash build() { local added=0 if (( ! fs_autodetect_failed )) && [[ $rootfstype$usrfstype ]]; then if [[ $rootfstype ]]; then add_binary fsck.$rootfstype && (( ++added )) fi if [[ $usrfstype && $usrfstype != $rootfstype ]]; then add_binary fsck.$usrfstype && (( ++added )) fi else for fsck in "$BASEDIR"/sbin/fsck.*; do [[ -f $fsck ]] || continue add_binary "${fsck#$BASEDIR}" && (( ++added )) done fi if (( added )); then add_binary fsck else warning "No fsck helpers found. fsck will not be run on boot." fi } help() { cat <