projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'refs/remotes/origin/master'
[weathermon.git]
/
init.d
/
weathermon
diff --git
a/init.d/weathermon
b/init.d/weathermon
index b57d620cd633a2b8436c698685d583a7db90473e..8553b6ac39c7919111a4a32ac1c4f101d9cd3757 100755
(executable)
--- a/
init.d/weathermon
+++ b/
init.d/weathermon
@@
-48,12
+48,5
@@
start_service() {
}
stop_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
}
}