# HG changeset patch # User Paul Issott # Date 1488832489 0 # Node ID 052432697dd343673d7af04fd3488ef15eb62805 # Parent 212ea6d3ec200a37295c06b60738a42f020e8fa8 Start to edit diff -r 212ea6d3ec20 -r 052432697dd3 initfs/etc/init.d/rcS --- a/initfs/etc/init.d/rcS Mon Mar 06 20:57:18 2017 +0100 +++ b/initfs/etc/init.d/rcS Mon Mar 06 20:34:49 2017 +0000 @@ -13,7 +13,7 @@ /bin/mount --bind /run /var/run # Populate /dev + config hotplug -echo "Population /dev and config hotplug helper..." +echo "Populating /dev and config hotplug helper..." /bin/touch /dev/mdev.log; /sbin/mdev -s echo "/sbin/mdev" >/proc/sys/kernel/hotplug diff -r 212ea6d3ec20 -r 052432697dd3 libseb.sh --- a/libseb.sh Mon Mar 06 20:57:18 2017 +0100 +++ b/libseb.sh Mon Mar 06 20:34:49 2017 +0000 @@ -15,7 +15,7 @@ esac done -# Exit if command ruturn 1 +# Exit if command returns 1 check() { case "$?" in 0) info 32 "Done" ;; diff -r 212ea6d3ec20 -r 052432697dd3 seb --- a/seb Mon Mar 06 20:57:18 2017 +0100 +++ b/seb Mon Mar 06 20:34:49 2017 +0000 @@ -55,11 +55,11 @@ $(colorize 35 "SliTaz Embedded Builder") $(boldify "Usage:") $(basename $0) [command] [--opts] -$(boldify "Manuel:") man seb +$(boldify "Manual:") man seb $(boldify "Commands:") -h help Display this short built-in help - -i init Creat base files to customize + -i init Create base files to customize -b build Generate a distribution (initramfs & iso) -p packages Handle packages: --list --add -g geniso Re-generate the ISO image @@ -80,7 +80,7 @@ EOT } -# Initial files who can be modified via sebfs/ +# Initial files which can be modified via sebfs/ init() { mkdir -p ${sebfs} ${sebpkgs} cp -rf ${initfs}/* ${sebfs} @@ -111,7 +111,7 @@ fi } -# Install files in the rootfs with same path than on the build host +# Install files in the rootfs with same path as on the build host # Usage: install_files "/file/1" "/lib/lib.so*" "/file/N" install_files() { for file in ${@} ; do @@ -134,8 +134,8 @@ done; check } -# Configuration files for /etc not generate by init to keep initfs/sebfs -# filesytems minimals +# Configuration files for /etc not generated by init to keep initfs/sebfs +# filesystems minimal create_etc_files() { echo -n "Creating config files in: /etc" (echo "127.0.0.1 localhost seb" > ${rootfs}/etc/hosts @@ -333,7 +333,7 @@ # Handle seb packages packages_handler() { - # List avalaible packages + # List available packages if [ ! "$1" ]; then title "Seb packages" for pkg in $(ls ${packages}); do @@ -351,7 +351,7 @@ --*) continue ;; *) if [ -f "$packages/$pkg" ]; then - echo -n "Addind package: $pkg" + echo -n "Adding package: $pkg" mkdir -p ${sebpkgs} cp -f ${packages}/${pkg} ${sebpkgs}; check else diff -r 212ea6d3ec20 -r 052432697dd3 tools/sebos --- a/tools/sebos Mon Mar 06 20:57:18 2017 +0100 +++ b/tools/sebos Mon Mar 06 20:34:49 2017 +0000 @@ -1,8 +1,8 @@ #!/bin/sh # -# sebos: SliTaz Embedded OS - A tool to help getting hand on a Seb-OS +# sebos: SliTaz Embedded OS - A tool to help getting hands on a Seb-OS # system with some cmdline and Ncurses configs functions. The main goal -# is to manage a web server. Without gettext dependencies please :-) +# is to manage a web server. Without gettext dependencies please :-) # # Copyright (C) 2017 SliTaz GNU/Linux - BSD License # Author: Christophe Lincoln @@ -36,7 +36,7 @@ $(colorize 035 'Commands:') -c config Configure the system - -i info Seb system informations + -i info Seb system information -d daemon Run/kill a daemon -p packages List installed packages -v view File viewer @@ -51,7 +51,7 @@ Seb build date : $build_date SliTaz release : $seb_os_release Seb OS config : /etc/seb.conf -Netwotk interface : $network_interface +Network interface : $network_interface Installed packages : $(cat /var/lib/packages | wc -l) Running processes : $(ps -o pid | wc -l) System time : $(date)