wok-stable rev 8400

syslinux: no more awk in shell tools (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 16:37:06 2011 +0100 (2011-02-05)
parents 7d497422d803
children cac91cb91a2c
files syslinux/stuff/tools/isohybrid.sh
line diff
     1.1 --- a/syslinux/stuff/tools/isohybrid.sh	Sat Feb 05 16:34:18 2011 +0100
     1.2 +++ b/syslinux/stuff/tools/isohybrid.sh	Sat Feb 05 16:37:06 2011 +0100
     1.3 @@ -76,9 +76,9 @@
     1.4  	  skip=$(( (3*$partok) + $hd0))
     1.5  	store32 432 $(($lba * 4))
     1.6  	store32 440 $id
     1.7 -	store32 508 $((0xAA550000))
     1.8 +	store32 508 0xAA550000
     1.9  	e=$(( (($entry -1) % 4) *16 +446))
    1.10 -	store32 $e $((0x10080))
    1.11 +	store32 $e 0x10080
    1.12  	esect=$(( ($sectors + ((($cylinders -1) & 0x300) >>2)) <<16))
    1.13  	ecyl=$(( (($cylinders -1) & 0xff) <<24))
    1.14  	store32 $(($e + 4)) $(($partype + (($heads - 1) <<8) +$esect +$ecyl))