X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=8d6c59a0e852e38e6fb2ac2acf54ce4f108c20ef;hp=f680fd15a56ed6efe97c428efdac3ca77a310fe8;hb=8cedc171928bacf677b7bca3ae153efbf96fdb84;hpb=19dd85882a09df24fe07105984ec53f7964a4a8c diff --git a/grml-debootstrap b/grml-debootstrap index f680fd1..8d6c59a 100644 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -73,6 +73,13 @@ einfo "Unmount $MNTPOINT" umount $MNTPOINT eend $? +if [ "$FSCK" = 'yes' ] ; then + [ -n "$FSCKTOOL" ] || FSCKTOOL="fsck.${MKFS#mkfs.}" + einfo "Checking filesystem on $TARGET using $FSCKTOOL" + $FSCKTOOL $TARGET + eend $? +fi + einfo "Finished execution of $0 - enjoy your Debian system." ; eend 0 ## END OF FILE #################################################################