From 5b0a44ad1702eef457d2cb902ef3de9ddb435412 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 8 Oct 2003 15:50:47 +0000 Subject: mount /dev/pts before starting rhgb --- rc.d/rc.sysinit | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 788bfdc5..e8e14c3f 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -77,6 +77,8 @@ fi # Start the graphical boot, if necessary; /usr may not be mounted yet, so we # may have to do this again after mounting RHGB_STARTED=0 +mount -n -t devpts /dev/pts /dev/pts + if ! fgrep -q nogui /proc/cmdline && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then /usr/bin/rhgb RHGB_STARTED=1 @@ -357,6 +359,7 @@ rm -f /etc/mtab~ /etc/mtab~~ # Enter root, /proc and (potentially) /proc/bus/usb and devfs into mtab. mount -f / mount -f /proc +mount -f /dev/pts [ -f /proc/bus/usb/devices ] && mount -f -t usbdevfs usbdevfs /proc/bus/usb [ -e /dev/.devfsd ] && mount -f -t devfs devfs /dev -- cgit v1.2.1