We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e94b013 commit 85a8e4aCopy full SHA for 85a8e4a
bin/v_update_sys_rrd
@@ -27,6 +27,11 @@ export PATH
27
# Argument defenition
28
period=$1
29
30
+# Checking rrddir
31
+if [ ! -d "$V_RRD" ]; then
32
+ mkdir -p $V_RRD
33
+fi
34
+
35
36
#----------------------------------------------------------#
37
# Action #
func/shared.func
@@ -675,9 +675,6 @@ get_user_value() {
675
restart_schedule() {
676
type="$1"
677
if [ -z "$RESTART_PERIOD" ]; then
678
- RESTART_PERIOD=0
679
- fi
680
- if [ "$RESTART_PERIOD" -le 0 ]; then
681
$V_BIN/v_restart_"$type"
682
else
683
echo "$type" >> $V_QUEUE/restart.pipe
0 commit comments