tazusb rev 149

Clean up some udev rules and i18n setting on writfs
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 15 08:35:03 2014 +0100 (2014-01-15)
parents f3cf5a212359
children adeb6ba5ab37
files tazusb
line diff
     1.1 --- a/tazusb	Wed Oct 30 18:09:00 2013 +0100
     1.2 +++ b/tazusb	Wed Jan 15 08:35:03 2014 +0100
     1.3 @@ -454,6 +454,24 @@
     1.4  				gettext "Keeping current screen resolution..." ;;
     1.5  		esac
     1.6  		status
     1.7 +		# Optionally remove screen resolution
     1.8 +		gettext "Do you wish to remove local/keymap settings (No/yes/exit) ? "
     1.9 +		read anser
    1.10 +		case $anser in
    1.11 +			e|E|"exit"|Exit)
    1.12 +				exit 0 ;;
    1.13 +			y|Y|yes|Yes)
    1.14 +				gettext "Removing current locale/keymap settings..."
    1.15 +				echo "" > /etc/locale.conf
    1.16 +				echo "" > /etc/keymap.conf ;;
    1.17 +			*)
    1.18 +				gettext "Keeping current locale/keymap settings..." ;;
    1.19 +		esac
    1.20 +		status
    1.21 +		
    1.22 +		# Clean-up files by default
    1.23 +		echo "" > /etc/udev/rules.d/70-persistent-net.rules
    1.24 +		echo "" > /etc/udev/rules.d/70-persistant-cd.rules
    1.25  		
    1.26  		# Create list of files
    1.27  		find /bin /etc /init /sbin /var /dev /lib /root /usr >/tmp/list