aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-26 07:43:20 +0000
committerColin Smith <colin@pfsense.org>2005-06-26 07:43:20 +0000
commit99669d3157241c943c8ff2df79d6721bef9187b3 (patch)
tree391591e708577532250ae1e89977b24ebaecc407 /packages
parent508943c37ec9b40aa17f03c4ccb07f0a2c9c6e76 (diff)
downloadpfsense-packages-99669d3157241c943c8ff2df79d6721bef9187b3.tar.gz
pfsense-packages-99669d3157241c943c8ff2df79d6721bef9187b3.tar.bz2
pfsense-packages-99669d3157241c943c8ff2df79d6721bef9187b3.zip
Restart service upon save.
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();