summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/transmission-cli/run.transmissiond
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/community/transmission-cli/run.transmissiond
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/community/transmission-cli/run.transmissiond')
-rwxr-xr-xabs/extra-testing/community/transmission-cli/run.transmissiond29
1 files changed, 0 insertions, 29 deletions
diff --git a/abs/extra-testing/community/transmission-cli/run.transmissiond b/abs/extra-testing/community/transmission-cli/run.transmissiond
deleted file mode 100755
index 714c946..0000000
--- a/abs/extra-testing/community/transmission-cli/run.transmissiond
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/transmissiond
-
-CONFIGDIR=/home/$TRANS_USER/.config/transmission-daemon
-PID=`pidof -o %PPID /usr/bin/transmission-daemon`
-# Update the block lists - try to keep the bad guys out.
- cd ${CONFIGDIR}/blocklists
- if [ $? -eq 0 ]; then
- find . -mtime +4 -type f -name level1 -exec rm {} \;
- if [ ! -f ${CONFIGDIR}/blocklists/level1 ]; then
- # update blocklist
- # echo "updating blocklist, ~4MB"
- wget -q -O level1.gz http://download.m0k.org/transmission/files/level1.gz
- if [ -f level1.gz ]; then
- gunzip level1.gz
- if [ $? -eq 0 ]; then
- chmod go+r level1
- else
- rm -f level1*
- fi
- fi
- fi
- cd - 2>&1 >/dev/null
- fi
- stat_runit "Starting Transmission Daemon"
- [ -z "$PID" ] && exec su -l -c "/usr/bin/nice -n 19 /usr/bin/transmission-daemon $TRANS_OPTS" $TRANS_USER 2>/dev/null