X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/05cb9d0f8e4f223fba410bd8a65f7504fc71fb64..afdf338bb671cf6bdb1bd836fd68cf5ee30b614c:/init.d/weathermon diff --git a/init.d/weathermon b/init.d/weathermon index b57d620..8553b6a 100755 --- a/init.d/weathermon +++ b/init.d/weathermon @@ -48,12 +48,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 }