motds.sh: unignore zfs from df command
This commit is contained in:
parent
3f316732da
commit
dfcdd93dd1
2
motd.sh
2
motd.sh
@ -68,7 +68,7 @@ dim="\e[2m"
|
||||
undim="\e[0m"
|
||||
|
||||
# disk usage: ignore zfs, squashfs & tmpfs
|
||||
mapfile -t dfs < <(df -H -x zfs -x squashfs -x tmpfs -x devtmpfs --output=target,pcent,size | tail -n+2)
|
||||
mapfile -t dfs < <(df -H -x squashfs -x tmpfs -x devtmpfs --output=target,pcent,size | tail -n+2)
|
||||
printf "\nDisk usage:\n"
|
||||
|
||||
for line in "${dfs[@]}"; do
|
||||
|
Loading…
Reference in New Issue
Block a user