Bug#226836: libc6: patch for /etc/init.d/devpts.sh
Package: libc6
Version: 2.3.2.ds1-10
Followup-For: Bug #226836
I need this done on sarge.
--------------------------------------------------------------------------
--- devpts.sh.orig 2003-04-08 13:41:32.000000000 +0200
+++ devpts.sh 2004-01-28 17:38:26.000000000 +0100
@@ -14,7 +14,7 @@ devpts_avail=`grep -qci '[<[:space:]]dev
devpts_mounted=`grep -qci '/dev/pts' /proc/mounts || true`
devfs_mounted=`grep -qci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || true`
-if [ $devfs_mounted = 0 ] && [ $devpts_avail != 0 ]
+if [ "$devfs_mounted" = 0 ] && [ "$devpts_avail" != 0 ]
then
#
# Create mountpoint and multiplexor device.
@@ -25,7 +25,7 @@ then
#
# Mount /dev/pts if needed.
#
- if [ $devpts_mounted = 0 ]
+ if [ "$devpts_mounted" = 0 ]
then
mount -t devpts devpts /dev/pts -ogid=${TTYGRP},mode=${TTYMODE}
fi
--------------------------------------------------------------------------
Cheers,
Cristian
Reply to: