slitaz-boot-scripts rev 219
Use custom files from persistant media with home=
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Dec 18 23:30:35 2010 +0100 (2010-12-18) |
parents | 1f6e9b6644ae |
children | 2cf65487f610 |
files | etc/init.d/bootopts.sh |
line diff
1.1 --- a/etc/init.d/bootopts.sh Sun Dec 05 18:47:04 2010 +0000 1.2 +++ b/etc/init.d/bootopts.sh Sat Dec 18 23:30:35 2010 +0100 1.3 @@ -136,6 +136,11 @@ 1.4 do 1.5 tazpkg install $pkg 1.6 done 1.7 + fi 1.8 + # We can have custom files in /home/boot/rootfs to overwrite 1.9 + # the one packed into the Live system. 1.10 + if [ -d "/home/boot/rootfs" ]; then 1.11 + cp -a /home/boot/rootfs/* / 1.12 fi ;; 1.13 laptop) 1.14 # Laptop option to load related Kernel modules.