Disable disk function on NetBSD

This commit is contained in:
Dylan 2016-05-13 09:11:34 +10:00
parent 454546be5e
commit 8aa2c0168c

View file

@ -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