commit: d3f833179b39368442221c448f90b87f76d28ee8
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Dec 18 17:52:54 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 17:53:12 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d3f83317
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(-)
diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in
index 96555d2..b07463b 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