aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-12-18 11:52:54 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-12-18 11:53:12 -0600
commitd3f833179b39368442221c448f90b87f76d28ee8 (patch)
tree60222594116c5e0ead490e6e2d9c67a8076fd5e7
parentabe552b969b6601f47ba0474f683d8cd80d53c9d (diff)
sh/init.sh.Linux.in: remove unused check for Gnu/KFreeBSD
This script only runs on Linux, so the check will always be false.
-rw-r--r--sh/init.sh.Linux.in4
1 files changed, 1 insertions, 3 deletions
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