/[livecd-tools]/trunk/spind
Gentoo

Contents of /trunk/spind

Parent Directory Parent Directory | Revision Log Revision Log


Revision 124 - (show annotations) (download)
Thu Dec 14 18:24:57 2006 UTC (7 years, 9 months ago) by wolf31o2
File size: 316 byte(s)
Removed all of the CVS-based headers and added /sbin/udevtrigger to the coldplug section of autoconfig, which should allow us to have coldplug-like functionality with newer udev versions.
1 #!/bin/bash
2
3 CDSIZE=$(($(df -P | grep cdrom | head -n 1 | awk '{print $2}') - 256))
4 [ -z "${CDSIZE}" ] && echo '>>> Unknown CD size...' && exit 1
5
6 echo ">>> CD size: $((${CDSIZE} + 256)) K"
7 while true
8 do
9 dd if=/dev/cdrom of=/dev/null bs=1K count=1 skip=$((${RANDOM} * ${CDSIZE} / 32768)) 2>/dev/null
10 sleep 30
11 done

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20