add option to check ext* partitions before mounting V3
authorPeter Wagner <tripolar@gmx.at>
Mon, 1 Jul 2013 20:22:21 +0000 (20:22 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 2 Jul 2013 09:24:04 +0000 (11:24 +0200)
commit267dd987b1aec750f8839d1d8d8c2f80d9f1107e
tree4e376fefb8205a7779b1ab3cca834c496cd89b63
parent0a4e3d257da46a7c0232362ac82a01a8c15ae6d5
add option to check ext* partitions before mounting V3

UpdatesV2: Check for e2fsck before calling it.
 fix whitespace
Updates V3: fix another whitespace

This patch adds a new option called check_fs to /etc/config/fstab, if set to '1' every partition with ext* fs
will be checked before it gets mounted.

Signed-off-by: Peter Wagner <tripolar@gmx.at>
with minor changes to http://patchwork.openwrt.org/patch/3791/
Signed-off-by: John Crispin <blogic@openwrt.org>
block.c