projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Штатный способ работы с таймаутами работает стабильнее традиционного с функцией откры...
[weathermon.git]
/
init.d
/
weathermon
diff --git
a/init.d/weathermon
b/init.d/weathermon
index b57d620cd633a2b8436c698685d583a7db90473e..bbf6f210bb607b32d2526622b217e8146f2698d4 100755
(executable)
--- a/
init.d/weathermon
+++ b/
init.d/weathermon
@@
-50,10
+50,5
@@
start_service() {
stop_service() {
killall weathermon
killall weathermon-iio
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
}
}