diff options
author | William Hubbs <williamh@gentoo.org> | 2011-10-24 15:32:10 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-10-24 15:32:10 -0500 |
commit | 7d4d363bae7313e46de960a45888907059b0f2d6 (patch) | |
tree | a859d00040e402619317c4a398edcb74d749b46e | |
parent | Applied Fernando V. Orocu (likewhoa) patch to fix cosmetic issues with e* fun... (diff) | |
download | livecd-tools-7d4d363bae7313e46de960a45888907059b0f2d6.tar.gz livecd-tools-7d4d363bae7313e46de960a45888907059b0f2d6.tar.bz2 livecd-tools-7d4d363bae7313e46de960a45888907059b0f2d6.zip |
remove spind
There is really no reason that we are sure of that we need spind, so I
am removing it from livecd-tools.
X-Gentoo-Bug: 388087
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=388087
-rwxr-xr-x | init.d/spind | 17 | ||||
-rwxr-xr-x | spind | 11 |
2 files changed, 0 insertions, 28 deletions
diff --git a/init.d/spind b/init.d/spind deleted file mode 100755 index 1a9a5f5..0000000 --- a/init.d/spind +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/runscript - -depend() { - before local -} - -start() { - ebegin "Starting spin daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/spind & - eend $? -} - -stop() { - ebegin "Stopping spind" - start-stop-daemon --stop --quiet --exec /usr/sbin/spind - eend $? -} @@ -1,11 +0,0 @@ -#!/bin/bash - -CDSIZE=$(($(df -P | grep cdrom | head -n 1 | awk '{print $2}') - 256)) -[ -z "${CDSIZE}" ] && echo '>>> Unknown CD size...' && exit 1 - -echo ">>> CD size: $((${CDSIZE} + 256)) K" -while true -do - dd if=/dev/cdrom of=/dev/null bs=1K count=1 skip=$((${RANDOM} * ${CDSIZE} / 32768)) 2>/dev/null - sleep 30 -done |