# HG changeset patch # User Christophe Lincoln # Date 1292711435 -3600 # Node ID 7125405f8998eb0f881c46888fc93477443f66a1 # Parent 1f6e9b6644aed06c00de1c39936e20464330ebd1 Use custom files from persistant media with home= diff -r 1f6e9b6644ae -r 7125405f8998 etc/init.d/bootopts.sh --- a/etc/init.d/bootopts.sh Sun Dec 05 18:47:04 2010 +0000 +++ b/etc/init.d/bootopts.sh Sat Dec 18 23:30:35 2010 +0100 @@ -136,6 +136,11 @@ do tazpkg install $pkg done + fi + # We can have custom files in /home/boot/rootfs to overwrite + # the one packed into the Live system. + if [ -d "/home/boot/rootfs" ]; then + cp -a /home/boot/rootfs/* / fi ;; laptop) # Laptop option to load related Kernel modules.