seb rev 14
Start to edit
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Mar 06 20:34:49 2017 +0000 (2017-03-06) |
parents | 212ea6d3ec20 |
children | 8205151e9aff |
files | initfs/etc/init.d/rcS libseb.sh seb tools/sebos |
line diff
1.1 --- a/initfs/etc/init.d/rcS Mon Mar 06 20:57:18 2017 +0100 1.2 +++ b/initfs/etc/init.d/rcS Mon Mar 06 20:34:49 2017 +0000 1.3 @@ -13,7 +13,7 @@ 1.4 /bin/mount --bind /run /var/run 1.5 1.6 # Populate /dev + config hotplug 1.7 -echo "Population /dev and config hotplug helper..." 1.8 +echo "Populating /dev and config hotplug helper..." 1.9 /bin/touch /dev/mdev.log; /sbin/mdev -s 1.10 echo "/sbin/mdev" >/proc/sys/kernel/hotplug 1.11
2.1 --- a/libseb.sh Mon Mar 06 20:57:18 2017 +0100 2.2 +++ b/libseb.sh Mon Mar 06 20:34:49 2017 +0000 2.3 @@ -15,7 +15,7 @@ 2.4 esac 2.5 done 2.6 2.7 -# Exit if command ruturn 1 2.8 +# Exit if command returns 1 2.9 check() { 2.10 case "$?" in 2.11 0) info 32 "Done" ;;
3.1 --- a/seb Mon Mar 06 20:57:18 2017 +0100 3.2 +++ b/seb Mon Mar 06 20:34:49 2017 +0000 3.3 @@ -55,11 +55,11 @@ 3.4 $(colorize 35 "SliTaz Embedded Builder") 3.5 3.6 $(boldify "Usage:") $(basename $0) [command] [--opts] 3.7 -$(boldify "Manuel:") man seb 3.8 +$(boldify "Manual:") man seb 3.9 3.10 $(boldify "Commands:") 3.11 -h help Display this short built-in help 3.12 - -i init Creat base files to customize 3.13 + -i init Create base files to customize 3.14 -b build Generate a distribution (initramfs & iso) 3.15 -p packages Handle packages: --list --add 3.16 -g geniso Re-generate the ISO image 3.17 @@ -80,7 +80,7 @@ 3.18 EOT 3.19 } 3.20 3.21 -# Initial files who can be modified via sebfs/ 3.22 +# Initial files which can be modified via sebfs/ 3.23 init() { 3.24 mkdir -p ${sebfs} ${sebpkgs} 3.25 cp -rf ${initfs}/* ${sebfs} 3.26 @@ -111,7 +111,7 @@ 3.27 fi 3.28 } 3.29 3.30 -# Install files in the rootfs with same path than on the build host 3.31 +# Install files in the rootfs with same path as on the build host 3.32 # Usage: install_files "/file/1" "/lib/lib.so*" "/file/N" 3.33 install_files() { 3.34 for file in ${@} ; do 3.35 @@ -134,8 +134,8 @@ 3.36 done; check 3.37 } 3.38 3.39 -# Configuration files for /etc not generate by init to keep initfs/sebfs 3.40 -# filesytems minimals 3.41 +# Configuration files for /etc not generated by init to keep initfs/sebfs 3.42 +# filesystems minimal 3.43 create_etc_files() { 3.44 echo -n "Creating config files in: /etc" 3.45 (echo "127.0.0.1 localhost seb" > ${rootfs}/etc/hosts 3.46 @@ -333,7 +333,7 @@ 3.47 # Handle seb packages 3.48 packages_handler() { 3.49 3.50 - # List avalaible packages 3.51 + # List available packages 3.52 if [ ! "$1" ]; then 3.53 title "Seb packages" 3.54 for pkg in $(ls ${packages}); do 3.55 @@ -351,7 +351,7 @@ 3.56 --*) continue ;; 3.57 *) 3.58 if [ -f "$packages/$pkg" ]; then 3.59 - echo -n "Addind package: $pkg" 3.60 + echo -n "Adding package: $pkg" 3.61 mkdir -p ${sebpkgs} 3.62 cp -f ${packages}/${pkg} ${sebpkgs}; check 3.63 else
4.1 --- a/tools/sebos Mon Mar 06 20:57:18 2017 +0100 4.2 +++ b/tools/sebos Mon Mar 06 20:34:49 2017 +0000 4.3 @@ -1,8 +1,8 @@ 4.4 #!/bin/sh 4.5 # 4.6 -# sebos: SliTaz Embedded OS - A tool to help getting hand on a Seb-OS 4.7 +# sebos: SliTaz Embedded OS - A tool to help getting hands on a Seb-OS 4.8 # system with some cmdline and Ncurses configs functions. The main goal 4.9 -# is to manage a web server. Without gettext dependencies please :-) 4.10 +# is to manage a web server. Without gettext dependencies please :-) 4.11 # 4.12 # Copyright (C) 2017 SliTaz GNU/Linux - BSD License 4.13 # Author: Christophe Lincoln <pankso@slitaz.org> 4.14 @@ -36,7 +36,7 @@ 4.15 $(colorize 035 'Commands:') 4.16 4.17 -c config Configure the system 4.18 - -i info Seb system informations 4.19 + -i info Seb system information 4.20 -d daemon Run/kill a daemon 4.21 -p packages List installed packages 4.22 -v view File viewer 4.23 @@ -51,7 +51,7 @@ 4.24 Seb build date : $build_date 4.25 SliTaz release : $seb_os_release 4.26 Seb OS config : /etc/seb.conf 4.27 -Netwotk interface : $network_interface 4.28 +Network interface : $network_interface 4.29 Installed packages : $(cat /var/lib/packages | wc -l) 4.30 Running processes : $(ps -o pid | wc -l) 4.31 System time : $(date)