slitaz-boot-scripts diff etc/init.d/bootopts.sh @ 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 | ae63069a080f |
children | a25d6905c56f |
line diff
1.1 --- a/etc/init.d/bootopts.sh Mon May 23 14:19:56 2016 +0300 1.2 +++ b/etc/init.d/bootopts.sh Mon Jan 09 02:20:10 2017 +0200 1.3 @@ -40,7 +40,7 @@ 1.4 cp /etc/slitaz/applications.conf /etc/skel/.config/slitaz 1.5 fi 1.6 1.7 - action 'Configuring user and group: $USER...' 1.8 + action 'Configuring user and group: %s...' "$USER" 1.9 adduser -D -s /bin/sh -g 'SliTaz User' -G users -h /home/$USER $USER 1.10 passwd -d $USER >/dev/null 1.11 for group in audio cdrom video tty plugdev disk; do 1.12 @@ -78,13 +78,13 @@ 1.13 kmap=*) 1.14 # Check for a specified keymap (kmap=*). 1.15 KEYMAP=${opt#kmap=} 1.16 - action 'Setting system keymap to: $KEYMAP...' 1.17 + action 'Setting system keymap to: %s...' "$KEYMAP" 1.18 echo "$KEYMAP" > /etc/keymap.conf 1.19 status ;; 1.20 font=*) 1.21 # Check for a specified console font (font=*). 1.22 FONT=${opt#font=} 1.23 - action 'Setting console font to: $FONT...' 1.24 + action 'Setting console font to: %s...' "$FONT" 1.25 for con in 1 2 3 4 5 6; do 1.26 setfont $FONT -C /dev/tty$con 1.27 done 1.28 @@ -187,7 +187,7 @@ 1.29 [ -z "$PKGDEV" -a -L /dev/cdrom ] && \ 1.30 PKGDEV=$(blkid /dev/cdrom | grep "$PKGSIGN" | cut -d: -f1) 1.31 if [ -n "$PKGDEV" ]; then 1.32 - action 'Mounting packages archive from $PKGDEV...' 1.33 + action 'Mounting packages archive from %s...' "$PKGDEV" 1.34 mkdir -p /packages; mount -t iso9660 -o ro $PKGDEV /packages 1.35 status 1.36 /packages/install.sh