From 04124c6a7306b116647b2d5c40bf52c623161e60 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Mon, 21 Feb 2005 22:48:18 +0000 Subject: Fix radiusd automatic (re)starting. --- packages/freeradiussettings.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages/freeradiussettings.xml') diff --git a/packages/freeradiussettings.xml b/packages/freeradiussettings.xml index 633aa66f..423332b0 100644 --- a/packages/freeradiussettings.xml +++ b/packages/freeradiussettings.xml @@ -49,8 +49,7 @@ fwrite($fout, "{\nipaddr = 127.0.0.1\nport = 0\ntype = auth\n}\n\n"); fclose($fout); } - mwexec("killall -HUP radiusd"); - mwexec("/usr/local/etc/rc.d/radiusd"); + system("killall -HUP radiusd"); sync_package(); -- cgit v1.2.3