tazusb rev 35
Optionally remove screen resolution
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 04 20:57:13 2009 +0100 (2009-02-04) |
parents | c972d94bee82 |
children | d020915532df |
files | tazusb |
line diff
1.1 --- a/tazusb Tue Dec 30 10:18:26 2008 +0000 1.2 +++ b/tazusb Wed Feb 04 20:57:13 2009 +0100 1.3 @@ -375,20 +375,30 @@ 1.4 rm /var/cache/tazpkg/* -r -f 1.5 1.6 # Optionally remove sound card selection 1.7 - echo -n "Do you wish to remove the sound card selection (Yes/no/exit) ? " 1.8 + echo -n "Do you wish to remove the sound card selection (No/yes/exit) ? " 1.9 read anser 1.10 case $anser in 1.11 e|E|"exit"|Exit) 1.12 - exit 0 1.13 - ;; 1.14 + exit 0 ;; 1.15 y|Y|yes|Yes) 1.16 echo -n "Removing current sound card selection..." 1.17 rm -f /var/lib/sound-card-driver 1.18 - rm -f /etc/asound.state 1.19 - ;; 1.20 + rm -f /etc/asound.state ;; 1.21 *) 1.22 - echo -n "Keeping current sound card selection..." 1.23 - ;; 1.24 + echo -n "Keeping current sound card selection..." ;; 1.25 + esac 1.26 + status 1.27 + # Optionally remove screen resolution 1.28 + echo -n "Do you wish to remove the screen resolution (No/yes/exit) ? " 1.29 + read anser 1.30 + case $anser in 1.31 + e|E|"exit"|Exit) 1.32 + exit 0 ;; 1.33 + y|Y|yes|Yes) 1.34 + echo -n "Removing current screen resolution..." 1.35 + rm -f /etc/X11/screen.conf ;; 1.36 + *) 1.37 + echo -n "Keeping current screen resolution..." ;; 1.38 esac 1.39 status 1.40