slitaz-tools rev 317
Edits/typos (more to be done)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Mar 10 20:19:52 2009 +0000 (2009-03-10) |
parents | bf3569f6ba14 |
children | d310a3288496 |
files | lib/README rootcd/index.html rootfs/etc/firewall.conf rootfs/usr/share/examples/README rootfs/usr/share/examples/etc/network.conf tinyutils/bootfloppybox tinyutils/burnbox tinyutils/desktopbox tinyutils/mktazdevs.sh tinyutils/netbox tinyutils/tazctrlbox tinyutils/tazfile tinyutils/tazhw tinyutils/tazkeymap tinyutils/tazlocale tinyutils/tazx tinyutils/wifibox |
line diff
1.1 --- a/lib/README Sun Mar 08 00:21:40 2009 +0100 1.2 +++ b/lib/README Tue Mar 10 20:19:52 2009 +0000 1.3 @@ -2,7 +2,7 @@ 1.4 1.5 SliTaz tools, tinyutils and GTKboxes libraries and functions. On the 1.6 system, all libs goes in: /usr/lib/slitaz. Some libs have a usage and 1.7 -can be called diretly from the command line, example: 1.8 +can be called directly from the command line, example: 1.9 1.10 # /usr/lib/slitaz/libmountbox usage 1.11
2.1 --- a/rootcd/index.html Sun Mar 08 00:21:40 2009 +0100 2.2 +++ b/rootcd/index.html Tue Mar 10 20:19:52 2009 +0000 2.3 @@ -32,9 +32,9 @@ 2.4 2.5 <h3><font color="#9c2424">English</font></h3> 2.6 <p> 2.7 -Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 2.8 +Welcome to the SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 2.9 but the full system is available in English. To boot SliTaz from a cdrom, 2.10 -just burn the ISO image onto a blank disc. Then reboot your computer with 2.11 +just burn the ISO image onto a blank disc and reboot your computer with 2.12 the disc in your cdrom drive. 2.13 </p> 2.14 <p>
3.1 --- a/rootfs/etc/firewall.conf Sun Mar 08 00:21:40 2009 +0100 3.2 +++ b/rootfs/etc/firewall.conf Tue Mar 10 20:19:52 2009 +0000 3.3 @@ -8,11 +8,11 @@ 3.4 # Enable/disable kernel security. 3.5 KERNEL_SECURITY="yes" 3.6 3.7 -# Enable/disable iptables rules (iptable package must be installed). 3.8 +# Enable/disable iptables rules (iptables package must be installed). 3.9 IPTABLES_RULES="no" 3.10 3.11 # Netfilter/iptables rules. 3.12 -# This shell function is include by /etc/init.d/firewall.sh 3.13 +# This shell function is included in /etc/init.d/firewall.sh 3.14 # to start iptables rules. 3.15 # 3.16 iptables_rules()
4.1 --- a/rootfs/usr/share/examples/README Sun Mar 08 00:21:40 2009 +0100 4.2 +++ b/rootfs/usr/share/examples/README Tue Mar 10 20:19:52 2009 +0000 4.3 @@ -1,7 +1,7 @@ 4.4 README - /usr/share/examples 4.5 =============================================================================== 4.6 4.7 -Like documentation, SliTaz provides some examples to help learn how to use 4.8 -applications, configure the system or code you own programms. 4.9 +Like documentation, SliTaz provides some examples to help you learn how to use 4.10 +applications, configure the system or code you own programs. 4.11 4.12 Local alias URL : http://localhost/examples/
5.1 --- a/rootfs/usr/share/examples/etc/network.conf Sun Mar 08 00:21:40 2009 +0100 5.2 +++ b/rootfs/usr/share/examples/etc/network.conf Tue Mar 10 20:19:52 2009 +0000 5.3 @@ -20,6 +20,6 @@ 5.4 # Set route gateway for a static IP. 5.5 GATEWAY="192.168.0.1" 5.6 5.7 -# Set DNS server. for a static IP. 5.8 +# Set DNS server for a static IP. 5.9 DNS_SERVER="192.168.0.1" 5.10
6.1 --- a/tinyutils/bootfloppybox Sun Mar 08 00:21:40 2009 +0100 6.2 +++ b/tinyutils/bootfloppybox Tue Mar 10 20:19:52 2009 +0000 6.3 @@ -340,7 +340,7 @@ 6.4 --yes-label "Install" \ 6.5 --no-label "Quit" \ 6.6 --colors --radiolist " 6.7 -Create a floppy or a cdrom to boot a LiveCD, in a PXE network... 6.8 +Create a floppy or a cdrom to boot a LiveCD in a PXE network... 6.9 May need a floppy disk in drive. Erase the whole floppy disk. 6.10 " 18 70 50\ 6.11 SmartBtmgr "Boot any partition or ATAPI CD-ROM." on \ 6.12 @@ -401,12 +401,12 @@ 6.13 <label> 6.14 "Without parameters (i.e. with an empty Boot URL) gPXE will perform a normal PXE boot: IP configuration with DHCP and download DHCP bootfile with TFTP. 6.15 6.16 -You can override the DHCP bootfile with an Boot URL such as <i>tftp://192.168.0.1/pxe/pxeloader</i>, <i>http://mirror.slitaz.org/pxe/pxelinux.0</i>, or <i>x-tftm://192.168.0.201//lts/vmlinuz.ltsp</i>. 6.17 +You can override the DHCP bootfile with a Boot URL such as <i>tftp://192.168.0.1/pxe/pxeloader</i>, <i>http://mirror.slitaz.org/pxe/pxelinux.0</i>, or <i>x-tftm://192.168.0.201//lts/vmlinuz.ltsp</i>. 6.18 6.19 -You can override IP configuration too (usefull without DHCP server), example: 6.20 +You can override IP configuration too (useful without DHCP server), example: 6.21 <i>ip=192.168.0.10/24 gw=192.168.0.1 dns=192.168.0.1 nodhcp url=http://mirror.slitaz.org/pxe/pxelinux.0</i> 6.22 6.23 -The <i>nodhcp</i> keyword avoids dhcp timeouts and the <i>url=</i> keyword is optionnal when the url is the only one argument. 6.24 +The <i>nodhcp</i> keyword avoids dhcp timeouts and the <i>url=</i> keyword is optional when the url is the only one argument. 6.25 " 6.26 </label> 6.27 </text> 6.28 @@ -430,7 +430,7 @@ 6.29 <text wrap="false" width-chars="44" use-markup="true"> 6.30 <label> 6.31 " 6.32 -Create a floppy or a cdrom to boot a LiveCD, in a PXE network or WEB... 6.33 +Create a floppy or a cdrom to boot a LiveCD in a PXE network or WEB... 6.34 May need a floppy disk in drive. Erase the whole floppy disk. 6.35 " 6.36 </label> 6.37 @@ -561,7 +561,7 @@ 6.38 BOOT_DIALOG="$BOOT_DIALOG$tmp" 6.39 done <<EOT 6.40 SmartBtmgr /usr/share/boot/btmgr btmgr This OS independent Smart Boot Manager can boot any partition or ATAPI CD-ROM. 6.41 -Plop /usr/share/boot/plop.gz plop This non free Boot Manager can boot floppy, hardisk, USB or CD/DVD. Hit Ctrl-ESC for text mode. 6.42 +Plop /usr/share/boot/plop.gz plop This non free Boot Manager can boot a floppy disk, hardisk, USB or CD/DVD. Hit Ctrl-ESC for text mode. 6.43 Etherboot /usr/share/boot/etherboot etherboot This network bootloader provides a replacement for proprietary PXE or NBI ROMs. 6.44 gPXE /boot/gpxe gpxe PXE / iSCSI / AoE network bootloader. 6.45 Memtest86+ /usr/share/boot/memtest.lzma memtest Memory failures detection tool.
7.1 --- a/tinyutils/burnbox Sun Mar 08 00:21:40 2009 +0100 7.2 +++ b/tinyutils/burnbox Tue Mar 10 20:19:52 2009 +0000 7.3 @@ -71,7 +71,7 @@ 7.4 <label> 7.5 "Burn CD or DVD using Wodim from cdrkit. Before burning, 7.6 please verify device writer settings or add options if needed. 7.7 -Audio CD use uncompressed WAV (OGG are decoded)." 7.8 +Audio CD uses uncompressed WAV (OGG are decoded)." 7.9 </label> 7.10 </text> 7.11 </frame>
8.1 --- a/tinyutils/desktopbox Sun Mar 08 00:21:40 2009 +0100 8.2 +++ b/tinyutils/desktopbox Tue Mar 10 20:19:52 2009 +0000 8.3 @@ -67,7 +67,7 @@ 8.4 \033[1mCommands: \033[0m\n 8.5 new-folder Create a new folder on the desktop with mkdir. 8.6 new-file Create a new empty file or SHell script on the desktop. 8.7 - add-icons Add a system icon on the desktop. 8.8 + add-icons Add a system icon to the desktop. 8.9 calendar Display a calendar under mouse pointer. 8.10 notify Display a notification message (center/no decoration). 8.11 Ex: `basename $0` notify \"Message to display\" 4
9.1 --- a/tinyutils/mktazdevs.sh Sun Mar 08 00:21:40 2009 +0100 9.2 +++ b/tinyutils/mktazdevs.sh Tue Mar 10 20:19:52 2009 +0000 9.3 @@ -218,6 +218,6 @@ 9.4 status 9.5 9.6 # Script end. 9.7 -echo -n "All devices are build..." 9.8 +echo -n "All devices are built..." 9.9 status 9.10
10.1 --- a/tinyutils/netbox Sun Mar 08 00:21:40 2009 +0100 10.2 +++ b/tinyutils/netbox Tue Mar 10 20:19:52 2009 +0000 10.3 @@ -1,6 +1,6 @@ 10.4 #!/bin/sh 10.5 # 10.6 -# Gtkdialog box to manage network connection and server. 10.7 +# Gtkdialog box to manage network connections and servers. 10.8 # Please use tab to indent. 10.9 # 10.10 # (c) - SliTaz GNU/Linux 2009. 10.11 @@ -53,7 +53,7 @@ 10.12 echo "$INTERFACE_LIST" 10.13 } 10.14 10.15 -# Netbox can be call with args. 10.16 +# Netbox can be called with args. 10.17 case "$1" in 10.18 detect_interfaces|interfaces_List_actions) 10.19 $1 10.20 @@ -326,7 +326,7 @@ 10.21 </window> 10.22 ' 10.23 10.24 -# Interafce status with ifconfig without arguments to show all 10.25 +# Interface status with ifconfig without arguments to show all 10.26 # active connections. 10.27 # 10.28 export IFCONFIG='
11.1 --- a/tinyutils/tazctrlbox Sun Mar 08 00:21:40 2009 +0100 11.2 +++ b/tinyutils/tazctrlbox Tue Mar 10 20:19:52 2009 +0000 11.3 @@ -186,7 +186,7 @@ 11.4 </pixmap> 11.5 </hbox> 11.6 11.7 - <notebook labels="Time|Boot loader|Initialisation|Login manager|Users"> 11.8 + <notebook labels="Time|Boot loader|Initialization|Login manager|Users"> 11.9 11.10 <vbox> 11.11 <frame Date and time>
12.1 --- a/tinyutils/tazfile Sun Mar 08 00:21:40 2009 +0100 12.2 +++ b/tinyutils/tazfile Tue Mar 10 20:19:52 2009 +0000 12.3 @@ -1,7 +1,7 @@ 12.4 #!/bin/sh 12.5 # Tazfile - Tiny autonomus zone files locator. 12.6 # 12.7 -# This is a lightwight files locator for *.tazpkg files, all written in 12.8 +# This is a lightweight files locator for *.tazpkg files, all written in 12.9 # SHell script. It works well with Busybox ash shell and bash. Tazfile let you 12.10 # create and explore a files list database. 12.11 # 12.12 @@ -67,7 +67,7 @@ 12.13 echo -e " 12.14 Unable to find the list : $FILES_LIST\n 12.15 You must probably run 'tazfile recharge' as root to get the last list of 12.16 -files avalaible on the mirror.\n" 12.17 +files available on the mirror.\n" 12.18 exit 0 12.19 fi 12.20 } 12.21 @@ -133,7 +133,7 @@ 12.22 done 12.23 ;; 12.24 usage|*) 12.25 - # Print a short help or give usage for an unknow or empty command. 12.26 + # Print a short help or give usage for an unknown or empty command. 12.27 # 12.28 usage 12.29 ;;
13.1 --- a/tinyutils/tazhw Sun Mar 08 00:21:40 2009 +0100 13.2 +++ b/tinyutils/tazhw Tue Mar 10 20:19:52 2009 +0000 13.3 @@ -1,10 +1,10 @@ 13.4 #!/bin/sh 13.5 # 13.6 # SliTaz Hardware configuration tool. Auto-detect and configure in a 13.7 -# simple way all PCI, PCMCIA and USB devices. Some Wireless Adapaters 13.8 -# need non-free firmware not installed by default, users must use the 13.9 -# option --get-firmware to force installation. GUI use GTKdialog, is 13.10 -# called by arg such as all box functions. 13.11 +# simple way all PCI, PCMCIA and USB devices. Some Wireless Adapters 13.12 +# need non-free firmware not installed by default. Users must use the 13.13 +# option --get-firmware to force installation. GUI uses GTKdialog, and is 13.14 +# called by args such as all box functions. 13.15 # 13.16 # (c) 2009 SliTaz GNU/Linux - GNU gpl v3 13.17 #
14.1 --- a/tinyutils/tazkeymap Sun Mar 08 00:21:40 2009 +0100 14.2 +++ b/tinyutils/tazkeymap Tue Mar 10 20:19:52 2009 +0000 14.3 @@ -95,8 +95,8 @@ 14.4 # If it's a reconfiguration give an info message. 14.5 if [ -s /etc/keymap.conf ]; then 14.6 $DIALOG --clear \ 14.7 - --title " Keyboard mapping information " \ 14.8 - --msgbox "\n 14.9 + --title " Keyboard mapping information\n" \ 14.10 + --msgbox " 14.11 Please logout of your current session and login again to use $value 14.12 keyboard.\n" 16 70 14.13 fi
15.1 --- a/tinyutils/tazlocale Sun Mar 08 00:21:40 2009 +0100 15.2 +++ b/tinyutils/tazlocale Tue Mar 10 20:19:52 2009 +0000 15.3 @@ -76,8 +76,8 @@ 15.4 # If it's a reconfiguration give an info message. 15.5 if [ -s /etc/locale.conf ]; then 15.6 $DIALOG --clear \ 15.7 - --title " Locale setting information " \ 15.8 - --msgbox "\n 15.9 + --title " Locale setting information\n " \ 15.10 + --msgbox " 15.11 Please logout of your current session and login again to use $value 15.12 locale.\n" 16 70 15.13 fi
16.1 --- a/tinyutils/tazx Sun Mar 08 00:21:40 2009 +0100 16.2 +++ b/tinyutils/tazx Tue Mar 10 20:19:52 2009 +0000 16.3 @@ -191,7 +191,7 @@ 16.4 slim_config() 16.5 { 16.6 if test $(id -u) = 0; then 16.7 - # /etc/X11/screen.conf exist for Live mode, if this file dos not 16.8 + # /etc/X11/screen.conf exists for Live mode, if this file does not 16.9 # exist tazx is executed at boot time. 16.10 mkdir -p /etc/X11 16.11 echo "SCREEN=$NEW_SCREEN" > /etc/X11/screen.conf 16.12 @@ -253,7 +253,7 @@ 16.13 { 16.14 cat > $FILE << "EOF" 16.15 # ~/.xinitrc: Executed by slim login manager to startx X session. 16.16 -# You can use F1 with Slim or 'tazx' to configure permanantly 16.17 +# You can use F1 with Slim or 'tazx' to configure permanently 16.18 # your default WM: tazx e17 16.19 # 16.20 WM=openbox-session
17.1 --- a/tinyutils/wifibox Sun Mar 08 00:21:40 2009 +0100 17.2 +++ b/tinyutils/wifibox Tue Mar 10 20:19:52 2009 +0000 17.3 @@ -1,14 +1,14 @@ 17.4 #!/bin/sh 17.5 # 17.6 -# GTKdialog interface to manage wireless connection in a simple way. 17.7 +# GTKdialog interface to manage wireless connections in a simple way. 17.8 # Use tabs to indent, split commands from the GUI and use functions. 17.9 -# Favotites networks are also supported 17.10 +# Favorite networks are also supported 17.11 # 17.12 # (c) 2009 SliTaz GNU/Linux - GNU gpl v3 17.13 # 17.14 VERSION=20090222 17.15 17.16 -# Export script path and other if needed so we can use them in 'quote'. 17.17 +# Export script path and others if needed so we can use them in 'quote'. 17.18 export BIN=$0 17.19 export FAVORITES_WIFI=/etc/wireless 17.20 . /etc/network.conf 17.21 @@ -24,8 +24,8 @@ 17.22 [ -d $FAVORITES_WIFI ] || mkdir -p $FAVORITES_WIFI 17.23 rm -f $FAVORITES_WIFI/any.conf 17.24 17.25 -# Catch ESSIDs and format output for GTK tree. We get the list off 17.26 -# network by Cell and without space. 17.27 +# Catch ESSIDs and format output for GTK tree. We get the list of 17.28 +# networks by Cell and without spaces. 17.29 detect_wifi_networks() 17.30 { 17.31 desktopbox notify "Scanning Wireless interface: $WIFI_INTERFACE" & 17.32 @@ -69,10 +69,10 @@ 17.33 done 17.34 } 17.35 17.36 -# Configure /etc/network.conf and restart connexion with init script. 17.37 +# Configure /etc/network.conf and restart connection with init script. 17.38 start_wifi_connection() 17.39 { 17.40 - # Get tmp config created by connect_to_essid() if exist and set 17.41 + # Get tmp config created by connect_to_essid() if exists and set 17.42 # empty value to clean config file. 17.43 if [ -f /tmp/wifi.conf ]; then 17.44 . /tmp/wifi.conf 17.45 @@ -101,11 +101,11 @@ 17.46 set_rfswitch 1 17.47 iwconfig $WIFI_INTERFACE txpower auto 17.48 /etc/init.d/network.sh restart 17.49 - # Remove tmp file (could be use to have wireless profiles) 17.50 + # Remove tmp file (could be used to have wireless profiles) 17.51 rm -f /tmp/wifi.conf 17.52 } 17.53 17.54 -# We must spleep 4 sec to refresh networks list. 17.55 +# We must sleep 4 sec to refresh networks list. 17.56 stop_wifi_connexion() 17.57 { 17.58 sed -i s/`grep ^WIFI= /etc/network.conf`/WIFI=\"no\"/ \ 17.59 @@ -118,7 +118,7 @@ 17.60 sleep 4 17.61 } 17.62 17.63 -# Favorites wireless networks use only 3 values: essid. key and type of 17.64 +# Favorite wireless networks use only 3 values: essid. key and type of 17.65 # key 17.66 FAVORITES_WIFI_list() 17.67 { 17.68 @@ -290,7 +290,7 @@ 17.69 \" 17.70 </label> 17.71 </text>" 17.72 - # We mybe need a key to connect 17.73 + # We maybe need a key to connect 17.74 if [ "$ENCRYPTION" = "on" ] && [ "$ESSID_LIST" != "any" ]; then 17.75 # WPA 17.76 if echo "$SCAN" | grep -q WPA; then 17.77 @@ -380,7 +380,7 @@ 17.78 </hbox> 17.79 </vbox>" 17.80 17.81 - # Favorites networks 17.82 + # Favorite networks 17.83 WIFI_DIALOG=${WIFI_DIALOG}" 17.84 <vbox> 17.85 <tree icon=\"network-wireless\">