slitaz-tools diff tinyutils/tazhw @ rev 304

hwconf: fix --get-firmware when started from box
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 26 14:17:24 2009 +0100 (2009-02-26)
parents 44848c607076
children 67d086ba0452
line diff
     1.1 --- a/tinyutils/tazhw	Sun Feb 22 22:06:52 2009 +0100
     1.2 +++ b/tinyutils/tazhw	Thu Feb 26 14:17:24 2009 +0100
     1.3 @@ -172,10 +172,11 @@
     1.4  			echo -e \"----\nPress ENTER to close...\"; \
     1.5  			read i; exit 0"
     1.6  	else
     1.7 -		xterm -T "Detect and install firmware" \
     1.8 +		xterm -T "Detect and get firmware" \
     1.9  			-geometry 80x24 \
    1.10 -			-e "$0 detect-pci --install-firmware; $0 detect-usb \
    1.11 -			--install-firmware; echo -e \"----\nPress ENTER to close...\"; \
    1.12 +			-e "$0 detect-pci --get-firmware; \
    1.13 +			$0 detect-usb --get-firmware; \
    1.14 +			echo -e \"----\nPress ENTER to close...\"; \
    1.15  			read i; exit 0"
    1.16  	fi
    1.17  }
    1.18 @@ -254,7 +255,7 @@
    1.19  	detected-modules)
    1.20  		echo -e "\nDetected PCI and USB modules" && display_line
    1.21  		cat /var/lib/detected-modules
    1.22 -		cat /var/lib/detected-usb-modules 2>dev/null
    1.23 +		cat /var/lib/detected-usb-modules 2>/dev/null
    1.24  		display_line && echo "" ;;
    1.25  	*)
    1.26  		usage ;;