sh/init.sh.Linux.in: remove unused check for Gnu/KFreeBSD
This script only runs on Linux, so the check will always be false.
This commit is contained in:
parent
abe552b969
commit
d3f833179b
@ -44,11 +44,9 @@ fi
|
|||||||
unset f
|
unset f
|
||||||
|
|
||||||
if $mountproc; then
|
if $mountproc; then
|
||||||
procfs="proc"
|
|
||||||
[ "$RC_UNAME" = "GNU/kFreeBSD" ] && procfs="linprocfs"
|
|
||||||
ebegin "Mounting /proc"
|
ebegin "Mounting /proc"
|
||||||
if ! fstabinfo --mount /proc; then
|
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
|
fi
|
||||||
eend $?
|
eend $?
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user