Revert NetBSD memory fix

This commit is contained in:
Dylan 2016-05-13 09:09:56 +10:00
parent ea1ed4d216
commit 454546be5e
1 changed files with 0 additions and 7 deletions

View File

@ -1385,13 +1385,6 @@ getgpu () {
# Memory {{{
getmemory () {
# NetBSD emulates the linux /proc filesystem instead of using sysctl for hw
# information so we have to use this block below which temporarily sets the
# OS to 'Linux' for the duration of this function.
case "$distro" in
"NetBSD"*) local os="Linux" ;;
esac
case "$os" in
"Linux" | "Windows")
if [ ! -z "$(grep -F "MemAvail" /proc/meminfo)" ]; then