Always attempt to mount /dev/pts when devpts is available as it may appear in some 2.4 setups.
This commit is contained in:
parent
2a1e0c1d8d
commit
a166958537
@ -1,6 +1,11 @@
|
|||||||
# ChangeLog for Gentoo System Intialization ("rc") scripts
|
# ChangeLog for Gentoo System Intialization ("rc") scripts
|
||||||
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
|
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
|
||||||
|
|
||||||
|
02 Sep 2007; Mike Frysinger <vapier@gentoo.org>:
|
||||||
|
|
||||||
|
Always attempt to mount /dev/pts when devpts is available as it may appear
|
||||||
|
in some 2.4 setups.
|
||||||
|
|
||||||
* baselayout-2.0.0_rc4 (02 Sep 2007)
|
* baselayout-2.0.0_rc4 (02 Sep 2007)
|
||||||
|
|
||||||
02 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
02 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
||||||
|
@ -197,8 +197,7 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# From linux-2.6 we need to mount /dev/pts again ...
|
# Mount the new fancy pants /dev/pts whenever possible
|
||||||
if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${K26}" = "0" ] ; then
|
|
||||||
if grep -Eq "[[:space:]]+devpts$" /proc/filesystems && \
|
if grep -Eq "[[:space:]]+devpts$" /proc/filesystems && \
|
||||||
! mountinfo /dev/pts > /dev/null ; then
|
! mountinfo /dev/pts > /dev/null ; then
|
||||||
if [ ! -d /dev/pts ] && \
|
if [ ! -d /dev/pts ] && \
|
||||||
@ -215,7 +214,6 @@ if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${K26}" = "0" ] ; then
|
|||||||
eend $?
|
eend $?
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# If booting off CD, we want to update inittab before setting the runlevel
|
# If booting off CD, we want to update inittab before setting the runlevel
|
||||||
if [ -f /sbin/livecd-functions.sh -a -n "${CDBOOT}" ] ; then
|
if [ -f /sbin/livecd-functions.sh -a -n "${CDBOOT}" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user