aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/doormanusers.xml3
-rw-r--r--packages/freeradiusclients.xml2
-rw-r--r--packages/freeradiussettings.xml2
3 files changed, 3 insertions, 4 deletions
diff --git a/packages/doormanusers.xml b/packages/doormanusers.xml
index 0f0d4813..86f301e9 100644
--- a/packages/doormanusers.xml
+++ b/packages/doormanusers.xml
@@ -84,8 +84,7 @@
}
}
fclose($fout);
- mwexec("killall doormand");
- mwexec("/usr/local/etc/rc.d/doormand.sh");
+ restart_service("doorman");
conf_mount_ro();
config_unlock();
}
diff --git a/packages/freeradiusclients.xml b/packages/freeradiusclients.xml
index b331e82e..c24d01eb 100644
--- a/packages/freeradiusclients.xml
+++ b/packages/freeradiusclients.xml
@@ -73,7 +73,7 @@
fclose($fout);
conf_mount_ro();
config_unlock();
- mwexec("killall -HUP radiusd");
+ restart_service("freeradius");
}
sync_package_freeradius_clients();
</custom_php_command_before_form>
diff --git a/packages/freeradiussettings.xml b/packages/freeradiussettings.xml
index 9b1a38ad..7db3402d 100644
--- a/packages/freeradiussettings.xml
+++ b/packages/freeradiussettings.xml
@@ -53,8 +53,8 @@
fclose($fout);
conf_mount_ro();
config_unlock();
+ restart_service("freeradius");
}
- mwexec("killall -HUP radiusd");
</custom_php_command_before_form>
<custom_add_php_command>
sync_package_freeradius_settings();