Parent Directory
|
Revision Log
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 |
| Name | Value |
|---|---|
| svn:eol-style | native |
| svn:executable | * |
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |