From b2922de24a15da547e02b819ae8d0f5b53d258d4 Mon Sep 17 00:00:00 2001 From: Nachtfalke Date: Sat, 7 Jan 2012 15:35:01 +0100 Subject: synced wrong file --- config/freeradius2/freeradius.inc | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'config/freeradius2/freeradius.inc') diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc index 98ac837f..baac37ae 100644 --- a/config/freeradius2/freeradius.inc +++ b/config/freeradius2/freeradius.inc @@ -94,7 +94,7 @@ function freeradius_install_command() { conf_mount_rw(); write_rcfile($rcfile); conf_mount_ro(); - restart_service("radiusd"); + start_service("radiusd"); } function freeradius_settings_resync() { @@ -444,7 +444,7 @@ EOD; conf_mount_ro(); freeradius_sync_on_changes(); - restart_service('freeradius'); + restart_service('radiusd'); } @@ -460,7 +460,7 @@ if (is_array($arrmacs) && !empty($arrmacs)) { // Variables for macs file defined parameters $varmacaddress = $macs['varmacaddress']; - $varmacaddress = "\n$varmacaddress"; + $varmacaddress = "$varmacaddress" . "\n"; $conf .= <<