]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
fs-resize: answer yes at fsck to continue at last mount in future.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 27 Jan 2012 08:22:15 +0000 (09:22 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 27 Jan 2012 08:22:15 +0000 (09:22 +0100)
src/initscripts/init.d/fsresize

index 0afe77900c13b89f5836e0af83f6eb175c9ba18f..8913eb991e7f831f55cd9162f7f6bff5a661c0ce 100644 (file)
@@ -26,7 +26,7 @@ case "${1}" in
                ROOT=`mount | grep -m1 " / " | cut -d" " -f1`;
                DRV=${ROOT::`expr length $ROOT`-1}
                boot_mesg " * check filesystem on ${DRV}4 before resize ..."
-               fsck -f ${DRV}4
+               fsck -f -y ${DRV}4
 
                boot_mesg " * resize ${DRV}4 ..."
                resize2fs -p ${DRV}4