summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-10-24 15:32:10 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-10-24 15:32:10 -0500
commit7d4d363bae7313e46de960a45888907059b0f2d6 (patch)
treea859d00040e402619317c4a398edcb74d749b46e
parentApplied Fernando V. Orocu (likewhoa) patch to fix cosmetic issues with e* fun... (diff)
downloadlivecd-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-xinit.d/spind17
-rwxr-xr-xspind11
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 $?
-}
diff --git a/spind b/spind
deleted file mode 100755
index d264b7f..0000000
--- a/spind
+++ /dev/null
@@ -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