summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/functions/off4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/functions/off b/etc/functions/off
index e974c8a..97363dc 100644
--- a/etc/functions/off
+++ b/etc/functions/off
@@ -48,8 +48,8 @@ for line in $(cat /etc/fstab); {
}
for filesystem in $filesystems; {
tune2fs=($(sudo tune2fs -l $filesystem | fgrep -i 'mount count' | grep -o '[0-9]*'))
- if (( tune2fs[2] - tune2fs[1] < 2 )) {
- echo "notice: filesystem $filesystem due to check at next boot"
+ if (( tune2fs[2] - tune2fs[1] < 5 )) {
+ echo "notice: filesystem $filesystem due to check in $((tune2fs[2] - tune2fs[1])) mounts"
}
}
if (( reboot )) {