summaryrefslogtreecommitdiff
path: root/rsnapshot-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'rsnapshot-wrapper')
-rwxr-xr-xrsnapshot-wrapper4
1 files changed, 1 insertions, 3 deletions
diff --git a/rsnapshot-wrapper b/rsnapshot-wrapper
index a334ab9..bb930a3 100755
--- a/rsnapshot-wrapper
+++ b/rsnapshot-wrapper
@@ -5,9 +5,7 @@ set -x
PRETEND="no"
run_rsnapshot() {
- superfans set -z periph 100
rsnapshot -c /etc/rsnapshot.conf $1
- superfans-set-normal
}
while true; do
@@ -40,7 +38,7 @@ while true; do
fi
fi
- if [[ $(date +"%m-d") == "01-01" ]]; then
+ if [[ $(date +"%m-%d") == "01-01" ]]; then
echo "1st day of the year -> yearly"
if [[ $PRETEND != "yes" ]]; then
sleep 1800 # wait 30 minutes