slitaz-tools rev 512

bootfloppybox: tiny edits (and tazctrlbox)
author Paul Issott <paul@slitaz.org>
date Mon Oct 25 20:53:30 2010 +0000 (2010-10-25)
parents ab795ec4f9c1
children b1be14a7c9e2
files tinyutils/bootfloppybox tinyutils/tazctrlbox
line diff
     1.1 --- a/tinyutils/bootfloppybox	Mon Oct 25 20:27:53 2010 +0000
     1.2 +++ b/tinyutils/bootfloppybox	Mon Oct 25 20:53:30 2010 +0000
     1.3 @@ -877,7 +877,7 @@
     1.4      <text>
     1.5        <label>
     1.6  \"This floppy set breaks the 15MB limit ($1 bytes).
     1.7 -It should not be able to complete the boot process.\"
     1.8 +It may not be able to complete the boot process.\"
     1.9        </label>
    1.10      </text>
    1.11      </frame>
    1.12 @@ -929,7 +929,7 @@
    1.13  			if [ $sz -gt $((15 * 1024 * 1024)) ]; then
    1.14  				cat <<EOT
    1.15  This floppy set breaks the 15MB limit ($sz bytes).
    1.16 -It should not be able to complete the boot process.
    1.17 +It may not be able to complete the boot process.
    1.18  EOT
    1.19  			fi
    1.20  		fi
     2.1 --- a/tinyutils/tazctrlbox	Mon Oct 25 20:27:53 2010 +0000
     2.2 +++ b/tinyutils/tazctrlbox	Mon Oct 25 20:53:30 2010 +0000
     2.3 @@ -1,8 +1,8 @@
     2.4  #!/bin/sh
     2.5  #
     2.6  # SliTaz Control Box is a tool to configure and manage a SliTaz system.
     2.7 -# The script use GTKdialog for the UI interface, some shell functions
     2.8 -# are called by argument. Individual window dialog are put into 
     2.9 +# The script uses GTKdialog for the UI interface. Some shell functions
    2.10 +# are called by argument. Individual window dialogs are put into 
    2.11  # functions.
    2.12  #
    2.13  # (C) GNU gpl v3 - SliTaz GNU/Linux 2010.
    2.14 @@ -26,7 +26,7 @@
    2.15  	exit 0
    2.16  fi
    2.17  
    2.18 -# By default autologin is not configured on installed system
    2.19 +# By default autologin is not configured on an installed system.
    2.20  if ! grep -q 'auto_login' /etc/slim.conf; then
    2.21  	echo '# Auto login default user' >> /etc/slim.conf
    2.22  	echo 'auto_login          no' >> /etc/slim.conf
    2.23 @@ -46,7 +46,7 @@
    2.24  	sed -i s#"color $CURRENT"#"color $GRUB_COLOR"# /boot/grub/menu.lst
    2.25  }
    2.26  
    2.27 -# Set checked fs on boot.
    2.28 +# Set check fs on boot.
    2.29  sed_check_fs()
    2.30  {
    2.31  	sed -i s#"CHECK_FS=\"$CHECK_FS\""#"CHECK_FS=\"$NEW_CHECK_FS\""# \
    2.32 @@ -67,7 +67,7 @@
    2.33  		/etc/rcS.conf
    2.34  }
    2.35  
    2.36 -# Get user list
    2.37 +# Get user list.
    2.38  get_users()
    2.39  {
    2.40  	for i in `cat /etc/passwd | cut -d ":" -f 1`
    2.41 @@ -181,7 +181,7 @@
    2.42  	gtkdialog --center --program=ADD_USER_DIALOG >/dev/null	
    2.43  }
    2.44  
    2.45 -# i18n functions
    2.46 +# i18n functions.
    2.47  list_locales()
    2.48  {
    2.49  	cd /usr/share/i18n/locales
    2.50 @@ -216,7 +216,7 @@
    2.51  
    2.52  	<notebook labels="'`gettext "Boot loader|Initialization|Login manager|Time|Language|Users"`'">'
    2.53  	
    2.54 -# GRUB
    2.55 +# GRUB.
    2.56  MAIN_DIALOG=${MAIN_DIALOG}"
    2.57  	<vbox>
    2.58  		<frame `gettext "Grub boot loader"`>
    2.59 @@ -262,7 +262,7 @@
    2.60  			</hbox>
    2.61  		</frame>
    2.62  	</vbox>"
    2.63 -# Init script
    2.64 +# Init script.
    2.65  MAIN_DIALOG=${MAIN_DIALOG}"
    2.66  	<vbox>
    2.67  		<frame `gettext "rcS init scripts"`>
    2.68 @@ -320,7 +320,7 @@
    2.69  			</hbox>
    2.70  		</frame>
    2.71  	</vbox>"
    2.72 -# Slim login
    2.73 +# Slim login.
    2.74  MAIN_DIALOG=${MAIN_DIALOG}'
    2.75  	<vbox>
    2.76  		<frame '`gettext "Slim settings"`'>
    2.77 @@ -406,7 +406,7 @@
    2.78  			</hbox>
    2.79  		</frame>
    2.80  	</vbox>'
    2.81 -# Time setting.
    2.82 +# Time settings.
    2.83  MAIN_DIALOG=${MAIN_DIALOG}'	
    2.84  	<vbox>
    2.85  		<frame '`gettext "Date and time"`'>
    2.86 @@ -458,7 +458,7 @@
    2.87  			</hbox>
    2.88  		</frame>
    2.89  	</vbox>'
    2.90 -# Language setting.
    2.91 +# Language settings.
    2.92  MAIN_DIALOG=${MAIN_DIALOG}"
    2.93  	<vbox>
    2.94  		<tree>
    2.95 @@ -481,7 +481,7 @@
    2.96  		</button>
    2.97  	</hbox>
    2.98  	</vbox>"
    2.99 -# Display users list throught get_users.
   2.100 +# Display users list through get_users.
   2.101  MAIN_DIALOG=${MAIN_DIALOG}"
   2.102  	<vbox>
   2.103  		<tree>