slitaz-base-files rev 190

stty size errors to /deb/null
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 01 19:53:44 2012 +0200 (2012-06-01)
parents cf285bb82236
children 2ef8abb6f1a3
files rootfs/etc/fstab rootfs/lib/libtaz.sh
line diff
     1.1 --- a/rootfs/etc/fstab	Fri Jun 01 08:31:31 2012 +0200
     1.2 +++ b/rootfs/etc/fstab	Fri Jun 01 19:53:44 2012 +0200
     1.3 @@ -1,8 +1,9 @@
     1.4  # /etc/fstab: Information about static filesystems.
     1.5  #
     1.6 -proc            /proc        proc    defaults          0       0
     1.7 -sysfs           /sys         sysfs   defaults          0       0
     1.8 -devpts          /dev/pts     devpts  rw,gid=5,mode=0620 0       0
     1.9 -tmpfs           /dev/shm     tmpfs   defaults          0       0
    1.10 -#/dev/hda3       /home        ext3    defaults          0       2
    1.11 -#/dev/hdb1       /mnt/data    ext3    defaults          0       2
    1.12 +proc          /proc        proc     defaults             0       0
    1.13 +sysfs         /sys         sysfs    defaults             0       0
    1.14 +devpts        /dev/pts     devpts   rw,gid=5,mode=0620   0       0
    1.15 +tmpfs         /dev/shm     tmpfs    defaults             0       0
    1.16 +/dev/cdrom    /media/cdrom iso9660  user,ro,noauto       0       0
    1.17 +#/dev/sda3     /home        ext3     defaults             0       2
    1.18 +#/dev/hdb1     /mnt/data    btrfs    defaults             0       2
     2.1 --- a/rootfs/lib/libtaz.sh	Fri Jun 01 08:31:31 2012 +0200
     2.2 +++ b/rootfs/lib/libtaz.sh	Fri Jun 01 19:53:44 2012 +0200
     2.3 @@ -40,7 +40,7 @@
     2.4  
     2.5  # Get terminal columns
     2.6  get_cols() {
     2.7 -	stty size | cut -d " " -f 2
     2.8 +	stty size 2>/dev/null | cut -d " " -f 2
     2.9  }
    2.10  
    2.11  # Return command status. Default to colored console output.