Some extra echos
This commit is contained in:
parent
e7aa66dc92
commit
b5a32cf391
|
@ -91,7 +91,9 @@ function defrag_filesystem {
|
||||||
fs_type=$(stat -f /)
|
fs_type=$(stat -f /)
|
||||||
|
|
||||||
if [[ "$fs_type" == *"btrfs"* ]]; then
|
if [[ "$fs_type" == *"btrfs"* ]]; then
|
||||||
|
echo $'Defragmenting root directory'
|
||||||
btrfs filesystem defragment -r /
|
btrfs filesystem defragment -r /
|
||||||
|
echo $'Defragmentation completed'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue