X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/05cb9d0f8e4f223fba410bd8a65f7504fc71fb64..76cb925db11bf98d7fc7030401f05f68043cc89a:/init.d/weathermon?ds=inline diff --git a/init.d/weathermon b/init.d/weathermon index b57d620..bbf6f21 100755 --- a/init.d/weathermon +++ b/init.d/weathermon @@ -50,10 +50,5 @@ start_service() { stop_service() { killall weathermon killall weathermon-iio - if [ ! -z "$BACKLOGDB" ] && [ -f "$BACKLOGDB" ]; then - cp "$BACKLOGDB" "$BACKUP_DIR"/ - fi - if [ ! -z "$LOGDB" ] && [ -f "$BACKLOGDB" ]; then - cp "$LOGDB" "$BACKUP_DIR"/ - fi + /usr/bin/weather-backup }