diff options
author | Bill Nottingham <notting@redhat.com> | 2003-10-08 15:50:47 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-10-08 15:50:47 +0000 |
commit | 5b0a44ad1702eef457d2cb902ef3de9ddb435412 (patch) | |
tree | 00284f8ff94cea6e60b006872942615fa84d5a1a | |
parent | 24794b1206d8949c63a4789930d3141c8468b0da (diff) | |
download | initscripts-5b0a44ad1702eef457d2cb902ef3de9ddb435412.tar initscripts-5b0a44ad1702eef457d2cb902ef3de9ddb435412.tar.gz initscripts-5b0a44ad1702eef457d2cb902ef3de9ddb435412.tar.bz2 initscripts-5b0a44ad1702eef457d2cb902ef3de9ddb435412.tar.xz initscripts-5b0a44ad1702eef457d2cb902ef3de9ddb435412.zip |
mount /dev/pts before starting rhgb
-rwxr-xr-x | rc.d/rc.sysinit | 3 |
1 files changed, 3 insertions, 0 deletions
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 |