wok-4.x rev 12343
slitaz-boot-scripts: fix loopfs case (thanks xjjx)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 18 18:19:49 2012 +0200 (2012-10-18) |
parents | fa9387141043 |
children | b1c43da9a1a1 |
files | slitaz-boot-scripts/receipt |
line diff
1.1 --- a/slitaz-boot-scripts/receipt Wed Oct 17 17:03:00 2012 +0000 1.2 +++ b/slitaz-boot-scripts/receipt Thu Oct 18 18:19:49 2012 +0200 1.3 @@ -27,6 +27,9 @@ 1.4 cp -a $src/init $fs 1.5 cp -a $src/applications $fs/usr/share 1.6 1.7 + # Fix loopfs case (thanks xjjx) 1.8 + sed -i 's|.*to tmpfs.*|[ -d /mnt/etc ] \&\& launch_init\n&|' $fs/init 1.9 + 1.10 # Perms 1.11 chown -R root.root $fs 1.12 chmod 755 $fs/etc/init.d/*.sh