/[livecd-tools]/trunk/spind
Gentoo

Contents of /trunk/spind

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations) (download)
Tue Mar 1 18:13:51 2005 UTC (9 years, 6 months ago) by wolf31o2
File size: 518 byte(s)
Fixed net-setup and x-setup and also updated headers on all files.

1 #!/bin/bash
2 # Copyright 1999-2005 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo/src/livecd-tools/spind,v 1.5 2005/03/01 18:13:51 wolf31o2 Exp $
5
6 CDSIZE=$(($(df -P | grep cdrom | head -n 1 | awk '{print $2}') - 256))
7 [ -z "${CDSIZE}" ] && echo '>>> Unknown CD size...' && exit 1
8
9 echo ">>> CD size: $((${CDSIZE} + 256)) K"
10 while true
11 do
12 dd if=/dev/cdrom of=/dev/null bs=1K count=1 skip=$((${RANDOM} * ${CDSIZE} / 32768)) 2>/dev/null
13 sleep 30
14 done

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20