slitaz-boot-scripts diff etc/init.d/rcS @ rev 436
etc/init.d/{bootopts.sh,network.sh,rcS}: follow changes in the libtaz.sh for i18n functions.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 09 02:20:10 2017 +0200 (2017-01-09) |
parents | 86e104f5625d |
children | 30df2eac7040 |
line diff
1.1 --- a/etc/init.d/rcS Sat Jan 07 12:30:04 2017 +0100 1.2 +++ b/etc/init.d/rcS Mon Jan 09 02:20:10 2017 +0200 1.3 @@ -109,7 +109,7 @@ 1.4 if [ "$MODPROBE" ]; then 1.5 mods=$(sed -e 's/.* modprobe=\([^ ]*\).*/\1/' -e 's/,/\n/g' < /proc/cmdline) 1.6 for i in $mods; do 1.7 - action 'Loading kernel module: $i' 1.8 + action 'Loading kernel module: %s' "$i" 1.9 modprobe $i 1.10 status 1.11 done 1.12 @@ -132,7 +132,7 @@ 1.13 CONFIG="" 1.14 fi 1.15 fi 1.16 - action 'Source $SCRIPT from $DEVICE...' 1.17 + action 'Source %s from %s...' "$SCRIPT" "$DEVICE" 1.18 if [ -n "$CONFIG" ]; then 1.19 . /mnt/$SCRIPT 1.20 umount /mnt 2> /dev/null || true 1.21 @@ -157,7 +157,7 @@ 1.22 if [ "$LOAD_MODULES" ]; then 1.23 colorize 33 'Loading Kernel modules...' 1.24 for mod in $LOAD_MODULES; do 1.25 - action 'Loading module: $mod' 1.26 + action 'Loading module: %s' "$mod" 1.27 modprobe $mod 1.28 status 1.29 done