version 1.1, 2005/03/24 00:51:41 |
version 1.4, 2005/03/28 23:48:44 |
|
|
#!/bin/sh |
#!/bin/sh |
|
#$Id$ |
|
|
MakeTorrents.pl |
BASEDIR=/home/OpenBSDTorrents |
CurrentTorrents.pl |
|
lftp -f lftp.script |
cd ${BASEDIR} |
ServerTorrents.pl |
|
|
if [[ $1 != skip ]]; then |
|
echo ${BASEDIR}/MakeTorrents.pl $* |
|
${BASEDIR}/MakeTorrents.pl $* |
|
fi |
|
|
|
echo ${BASEDIR}/CurrentTorrents.pl |
|
${BASEDIR}/CurrentTorrents.pl |
|
|
|
if [ $? != 253 ]; then |
|
echo lftp -f ${BASEDIR}/lftp.script |
|
lftp -f ${BASEDIR}/lftp.script |
|
|
|
echo ${BASEDIR}/ServerTorrents.pl |
|
${BASEDIR}/ServerTorrents.pl |
|
fi |