This commit is contained in:
vvzvlad 2023-04-18 01:46:29 +07:00
parent 108c37cb5d
commit d22983121a

View File

@ -74,7 +74,7 @@ function _update_vestasync() {
captureOutput: true, captureOutput: true,
exitCallback: function (exitCode, capturedOutput) { exitCallback: function (exitCode, capturedOutput) {
var isEnabled = capturedOutput.trim() === "active"; var isEnabled = capturedOutput.trim() === "active";
dev.vestasync.autopush_inotify = isEnabled; getControl("vestasync/autopush_inotify").setValue({ value: isEnabled, notify: false })
} }
}); });
@ -82,7 +82,7 @@ function _update_vestasync() {
captureOutput: true, captureOutput: true,
exitCallback: function (exitCode, capturedOutput) { exitCallback: function (exitCode, capturedOutput) {
var isEnabled = capturedOutput.trim() === "active"; var isEnabled = capturedOutput.trim() === "active";
dev.vestasync.autopush_timer = isEnabled; getControl("vestasync/autopush_inotify").setValue({ value: isEnabled, notify: false })
} }
}); });