mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-23 18:03:51 +08:00
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
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user