remove sweeper.conf, fix damage!

This commit is contained in:
hummypkg 2015-02-01 23:03:47 +00:00
parent f7ad415031
commit 719d61b4d2
3 changed files with 8 additions and 13 deletions

View File

@ -1,7 +1,7 @@
Package: sweeper
Priority: optional
Section: misc
Version: 2.0.7-3
Version: 2.0.7-4
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif(>=1.0.16)

View File

@ -1,6 +1,13 @@
#!/bin/sh
f=/mod/etc/sweeper.conf
if [ -f $f ]; then
sum=`/mod/bin/busybox/md5sum $f | awk '{print $1}'`
if [ "$sum" = "a22cb1379fb9c58ae549dead9695eebe" ]; then
rm -f $f
fi
fi
if [ ! -f $f ]; then
if [ -f $f~ ]; then
cp $f~ $f

View File

@ -1,12 +0,0 @@
# Move any Children's films (by length)
## lcn {>= 70} lcn {<= 79} duration {>= 90} action {move Children/Films}
# Move any Children's films (by genre)
## lcn {>= 70} lcn {<= 79} genre Film action {move Children/Films}
# Move anything else recorded from a children's channel
## lcn {>= 70} lcn {<= 79} action {move Children/Miscellaneous}
# Move any series recordings from a Children's channel (folder rule)
## folder lcn {>= 70} lcn {<= 79} action {fileundercreate Children}
# Move any one-off Formula 1 recordings into the F1 folder
## title {Formula 1} action {move F1}
# Move any one-off recordings into a folder called Misc after a while
## age {> 120} action {movecreate Misc}