[Lunar-commits] r19297 - moonbase/trunk/filesys/e2fsprogs/init.d
Auke Kok
sofar at lunar-linux.org
Sat Mar 18 02:03:37 UTC 2006
Author: sofar
Date: 2006-03-18 02:03:36 +0000 (Sat, 18 Mar 2006)
New Revision: 19297
Modified:
moonbase/trunk/filesys/e2fsprogs/init.d/mount
Log:
Fixes bug reported by ElAngelo where filesystems got checked multiple times.
Modified: moonbase/trunk/filesys/e2fsprogs/init.d/mount
===================================================================
--- moonbase/trunk/filesys/e2fsprogs/init.d/mount 2006-03-18 01:20:19 UTC (rev 19296)
+++ moonbase/trunk/filesys/e2fsprogs/init.d/mount 2006-03-18 02:03:36 UTC (rev 19297)
@@ -214,7 +214,7 @@
fi
# check filesystems
- FSCKLEVELS=$(sed 's/#.*$//g' /etc/fstab | awk '($6>0){print$6}' | sort -n)
+ FSCKLEVELS=$(sed 's/#.*$//g' /etc/fstab | awk '($6>0){print$6}' | sort -n | uniq)
if [ -n "$FSCKLEVELS" ]; then
echo "Checking file systems:"
for FSCKLEVEL in $FSCKLEVELS; do
More information about the Lunar-commits
mailing list