Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/other/s9y | ||
|---|---|---|
| 1 | 1 |
#!/bin/bash |
| 2 |
# $Id: s9y 7 2010-02-24 22:15:37Z root $
|
|
| 2 |
# $Id: s9y 7 2010-02-24 22:15:37Z root $ |
|
| 3 | 3 |
# $Rev: 7 $ |
| 4 | 4 |
# $Author: root $ |
| 5 |
# $Date: 2010-02-24 23:15:37 +0100 (Mi, 24. Feb 2010) $
|
|
| 5 |
# $Date: 2010-02-24 23:15:37 +0100 (Mi, 24. Feb 2010) $ |
|
| 6 | 6 |
# |
| 7 | 7 |
# |
| 8 | 8 |
: <<EOF |
| ... | ... | |
| 30 | 30 |
env.critical Critical Count of Spam |
| 31 | 31 |
env.resettype one of monthly weekly daily number (must be greater than env.critical) |
| 32 | 32 |
(currently only monthly is supported) |
| 33 |
|
|
| 33 |
|
|
| 34 | 34 |
=head2 DEFAULT CONFIGURATION |
| 35 | 35 |
|
| 36 | 36 |
[s9y] |
| ... | ... | |
| 93 | 93 |
echo 'spam.label SPAM' |
| 94 | 94 |
echo "resettype $resettype" |
| 95 | 95 |
echo "spam.value $SPAM" |
| 96 |
|
|
| 96 |
|
|
| 97 | 97 |
exit 0 |
| 98 | 98 |
fi |
| 99 | 99 |
|
| ... | ... | |
| 107 | 107 |
then |
| 108 | 108 |
mysql --defaults-extra-file=$extrafile -D $database -B --skip-column-names -e "delete from serendipity_spamblocklog where 1=1;" |
| 109 | 109 |
fi |
| 110 |
fi
|
|
| 110 |
fi |
|
| 111 | 111 |
fi |
| 112 | 112 |
|
| 113 | 113 |
echo "spam.value $SPAM" |
Formats disponibles : Unified diff