bug fixes
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled

This commit is contained in:
wt committed 2025-03-07 01:48:10 +07:00
1 parent 2f0ccc55b6
commit 39957c7436
4 files changed
+17 -10

No files matched your search

+4 -4
View File
@@ -14,14 +14,14 @@ namespace api
{
if (!new_ftp_enabled)
{
system("rc stop ftp");
system("rc del ftp");
system("rc stop ftpd");
system("rc del ftpd");
syslog(LOG_INFO, "%s", "Ftp is disabled");
}
else
{
system("rc start ftp");
system("rc add ftp");
system("rc start ftpd");
system("rc add ftpd");
syslog(LOG_INFO, "%s", "Ftp is enabled");
}
}