aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-25 09:01:05 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-25 09:01:05 +0200
commit8923190902c9086c8ebcd56b0a9c136371eb1b44 (patch)
tree00ce927ed3ad5fffbdb8971f6da321a0d1e145ee
parent74c7b167db4bf3e7990b9116d9e658994ff8836f (diff)
downloadpfsense-packages-8923190902c9086c8ebcd56b0a9c136371eb1b44.tar.gz
pfsense-packages-8923190902c9086c8ebcd56b0a9c136371eb1b44.tar.bz2
pfsense-packages-8923190902c9086c8ebcd56b0a9c136371eb1b44.zip
Remove useless remount calls
These are dealt with by install_package() from pkg-utils.inc.
-rw-r--r--config/freeradius2/freeradius.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc
index 8472ea5e..6d626e3a 100644
--- a/config/freeradius2/freeradius.inc
+++ b/config/freeradius2/freeradius.inc
@@ -90,8 +90,7 @@ function freeradius_deinstall_command() {
function freeradius_install_command() {
global $config, $frlib;
- conf_mount_rw();
-
+
// We create here different folders for different counters.
@mkdir("/var/log/radacct/datacounter/daily", 0755, true);
@mkdir("/var/log/radacct/datacounter/weekly", 0755, true);
@@ -186,7 +185,6 @@ SERVICENAME="radiusd"
EOD;
$rcfile['stop'] = FREERADIUS_ETC . '/rc.d/radiusd onestop';
write_rcfile($rcfile);
- conf_mount_ro();
start_service("radiusd");
}