From d3f833179b39368442221c448f90b87f76d28ee8 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 18 Dec 2016 11:52:54 -0600 Subject: sh/init.sh.Linux.in: remove unused check for Gnu/KFreeBSD This script only runs on Linux, so the check will always be false. --- sh/init.sh.Linux.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sh') diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 96555d27..b07463b3 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in @@ -44,11 +44,9 @@ fi unset f if $mountproc; then - procfs="proc" - [ "$RC_UNAME" = "GNU/kFreeBSD" ] && procfs="linprocfs" ebegin "Mounting /proc" if ! fstabinfo --mount /proc; then - mount -n -t "$procfs" -o noexec,nosuid,nodev proc /proc + mount -n -t proc -o noexec,nosuid,nodev proc /proc fi eend $? fi -- cgit v1.2.3