diff options
-rwxr-xr-x | abs/core/LinHES-system/PKGBUILD | 4 | ||||
-rwxr-xr-x | abs/core/LinHES-system/checkXFSfrag.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD index 7a02894..9cc6e8b 100755 --- a/abs/core/LinHES-system/PKGBUILD +++ b/abs/core/LinHES-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-system pkgver=8.4 -pkgrel=16 +pkgrel=17 arch=('i686' 'x86_64') install=system.install pkgdesc="Everything that makes LinHES an automated system" @@ -125,7 +125,7 @@ md5sums=('c6e6b83a1f4c35ef4501e277657ab2ac' 'bacc813b48bafcc6fe906e5969930501' 'dedd3fcb1abec6361f4060d8149c7d6d' '8b0298f70f97cc1dc2a58b9a73c64bd3' - 'b4bb70650893c811c854d446cfa6ca6a' + '85558db5864bc70676ef46acc4595f88' 'e30bf8ec8b9dcc2ceb7127375a91d8d1' 'e9f545c3bcf9c85b45496c281fc6a1b8' 'a94fe6d980f4b810f2e2ae5352084b39' diff --git a/abs/core/LinHES-system/checkXFSfrag.sh b/abs/core/LinHES-system/checkXFSfrag.sh index 709cdac..5fccece 100755 --- a/abs/core/LinHES-system/checkXFSfrag.sh +++ b/abs/core/LinHES-system/checkXFSfrag.sh @@ -42,11 +42,11 @@ do isSATA=`cat /sys/block/${device}/queue/rotational` if [[ $isSATA -eq 1 ]] then - percentage=`$xfsdb -c frag -r ${i}|cut -f 7 --delim=" "` + percentage=`$xfsdb -c frag -r ${i}|grep factor|cut -f 7 --delim=" "` percent2=`$e $percentage|cut -f 1 --delim=.` if [ "$percent2" -gt "$pctmax" ] then - $e "${i} is $percentage% fragmented. Running defragment on ${i}." + $e "${i} is $percentage fragmented. Running defragment on ${i}." # Only uncomment one of the following two lines. #$xfsfsr -v ${i} # Uncomment for verbose defrag. $ionice -c3 $xfsfsr ${i} # Uncomment for quiet defrag. |