Disable disk function on NetBSD
This commit is contained in:
parent
454546be5e
commit
8aa2c0168c
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1755,7 +1755,7 @@ getdisk () {
|
||||||
"Linux" | "iPhone OS" | "Windows") df_flags="-h -l --total" ;;
|
"Linux" | "iPhone OS" | "Windows") df_flags="-h -l --total" ;;
|
||||||
"Mac OS X" | "BSD")
|
"Mac OS X" | "BSD")
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
"OpenBSD"*) return ;;
|
"OpenBSD"* | "NetBSD"*) return ;;
|
||||||
"FreeBSD"* | *"OS X"* ) df_flags="-H / -l" ;;
|
"FreeBSD"* | *"OS X"* ) df_flags="-H / -l" ;;
|
||||||
*) df_flags="-h -c -l" ;;
|
*) df_flags="-h -c -l" ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue