Bug#226836: libc6: patch for /etc/init.d/devpts.sh
At Thu, 29 Jan 2004 12:37:30 +0100,
Cristian Ionescu-Idbohrn wrote:
> 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
> --------------------------------------------------------------------------
Please check the latest 2.3.2.ds1-10 and -11. It's already modified.
Regards,
-- gotom
Reply to: