|
@@ -675,9 +675,6 @@ get_user_value() {
|
|
|
restart_schedule() {
|
|
restart_schedule() {
|
|
|
type="$1"
|
|
type="$1"
|
|
|
if [ -z "$RESTART_PERIOD" ]; then
|
|
if [ -z "$RESTART_PERIOD" ]; then
|
|
|
- RESTART_PERIOD=0
|
|
|
|
|
- fi
|
|
|
|
|
- if [ "$RESTART_PERIOD" -le 0 ]; then
|
|
|
|
|
$V_BIN/v_restart_"$type"
|
|
$V_BIN/v_restart_"$type"
|
|
|
else
|
|
else
|
|
|
echo "$type" >> $V_QUEUE/restart.pipe
|
|
echo "$type" >> $V_QUEUE/restart.pipe
|