You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
|
|
|
|
START=99
|
|
|
|
STOP=99
|
|
|
|
|
|
|
|
SCREEN=/usr/sbin/screen
|
|
|
|
PROG=/usr/bin/rtorrent
|
|
|
|
|
|
|
|
start() {
|
|
|
|
sleep 3
|
|
|
|
$SCREEN -dm -t rtorrent nice -19 $PROG
|
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
|
|
|
killall rtorrent
|
|
|
|
}
|
|
|
|
|