From 22df76c3b6d3d6a37724cc784c3015b84d053995 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 25 Jun 2018 09:04:48 +1000 Subject: [PATCH] cpu: Use sysctl on NetBSD. Closes #1041 --- neofetch | 5 ----- 1 file changed, 5 deletions(-) diff --git a/neofetch b/neofetch index ab4a22ab..a781e224 100755 --- a/neofetch +++ b/neofetch @@ -1722,11 +1722,6 @@ get_wm_theme() { } get_cpu() { - # 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. - [[ "$distro" == "NetBSD"* ]] && local os="Linux" - case "$os" in "Linux" | "MINIX" | "Windows") # Get CPU name.