Browse Source

... I know why I wrote half-tested => this one (finally) survived a

manual verification - let's see what the OpenFirmware says when the CD
is burned ...


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1895 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
27955a18d3
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      target/bootdisk/powerpc/bless-rs6k.sh

+ 3
- 2
target/bootdisk/powerpc/bless-rs6k.sh

@ -36,11 +36,12 @@ iso=$3
# function to return a 512 sized sector count
sector_count() {
echo `du -B 512 --apparent-size $1 | -d ' ' -f1`
echo `du -B 512 --apparent-size $1 | cut -f1`
}
if [ "$cd" != 0 ] ; then
if [ "$cd" != 1 ] ; then
echo "Not the first CD - not blessing ..."
exit 0
fi

Loading…
Cancel
Save