wok-6.x view slitaz-loram/stuff/loram.iso @ rev 5094

tazbb: sync CSS and update page
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 15 21:49:59 2010 +0100 (2010-03-15)
parents
children
line source
1 if [ -s $1/rootfs.gz2 ]; then
2 local rem
3 rem=$(( $(stat -c "%s" $1/boot/rootfs.gz) % 4 ))
4 [ $rem -ne 0 ] &&
5 dd if=/dev/zero bs=1 count=$(( 4 - $rem )) >> $1/boot/rootfs.gz
6 cat $1/rootfs.gz2 >> $1/boot/rootfs.gz
7 rm -f $1/rootfs.gz2
8 fi