aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-03-12 23:48:17 +0000
committerColin Smith <colin@pfsense.org>2005-03-12 23:48:17 +0000
commit896c35ebe199a99dd611494f59cb27f769e1c044 (patch)
treee34067891e85795e359abf520cb29c05d8458603
parent34f67be907844951ea8fb7c33cb2d46213be1e57 (diff)
downloadpfsense-packages-896c35ebe199a99dd611494f59cb27f769e1c044.tar.gz
pfsense-packages-896c35ebe199a99dd611494f59cb27f769e1c044.tar.bz2
pfsense-packages-896c35ebe199a99dd611494f59cb27f769e1c044.zip
system() -> mwexec() (system is noisy when syncing packages)
-rw-r--r--packages/freeradius.xml2
-rw-r--r--packages/freeradiusclients.xml2
-rw-r--r--packages/freeradiussettings.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/freeradius.xml b/packages/freeradius.xml
index ac8604a9..0da60c3c 100644
--- a/packages/freeradius.xml
+++ b/packages/freeradius.xml
@@ -131,7 +131,7 @@
fclose($fout);
conf_mount_ro();
config_unlock();
- system("/usr/bin/killall -HUP radiusd");
+ mwexec("/usr/bin/killall -HUP radiusd");
}
</custom_php_command_before_form>
<custom_php_resync_config_command>
diff --git a/packages/freeradiusclients.xml b/packages/freeradiusclients.xml
index 5deaf64d..b331e82e 100644
--- a/packages/freeradiusclients.xml
+++ b/packages/freeradiusclients.xml
@@ -73,7 +73,7 @@
fclose($fout);
conf_mount_ro();
config_unlock();
- system("killall -HUP radiusd");
+ mwexec("killall -HUP radiusd");
}
sync_package_freeradius_clients();
</custom_php_command_before_form>
diff --git a/packages/freeradiussettings.xml b/packages/freeradiussettings.xml
index 17066486..9b1a38ad 100644
--- a/packages/freeradiussettings.xml
+++ b/packages/freeradiussettings.xml
@@ -54,7 +54,7 @@
conf_mount_ro();
config_unlock();
}
- system("killall -HUP radiusd");
+ mwexec("killall -HUP radiusd");
</custom_php_command_before_form>
<custom_add_php_command>
sync_package_freeradius_settings();