slitaz-tools rev 27
Modified installer (creat /etc/skel with hacker files)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 30 21:46:11 2007 +0100 (2007-12-30) |
parents | d9eb5a21792d |
children | 31dd135d7b5d |
files | tinyutils/slitaz-installer.sh |
line diff
1.1 --- a/tinyutils/slitaz-installer.sh Wed Dec 26 12:10:42 2007 +0100 1.2 +++ b/tinyutils/slitaz-installer.sh Sun Dec 30 21:46:11 2007 +0100 1.3 @@ -109,10 +109,15 @@ 1.4 rm -f rootfs rootfs.cpio rootfs.gz init 1.5 status 1.6 1.7 +# /etc/skel 1.8 +echo -n "Copie des fichiers personnels de hacker dans : /etc/skel..." 1.9 +cp -a /mnt/target/home/hacker /mnt/target/etc/skel 1.10 +status 1.11 + 1.12 # Creat the target GRUB configuration. 1.13 # 1.14 if [ ! -f /mnt/target/boot/grub/menu.lst ]; then 1.15 - echo "Creating default GRUB menu.lst..." 1.16 + echo "Création du fichier de configuration de GRUB (menu.lst)..." 1.17 mkdir -p /mnt/target/boot/grub 1.18 cat > /mnt/target/boot/grub/menu.lst << EOF 1.19 # /boot/grub/menu.lst: GRUB boot loader configuration.