diff options
author | Renato Botelho <renato@netgate.com> | 2015-06-29 07:40:13 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-06-29 07:40:13 -0300 |
commit | 6bb72c8d94de738005f1d67b9227f1d863c91434 (patch) | |
tree | ed3c4520133b5b6d5e0c376530ae282275e8cdbf /config | |
parent | efcb133964c38a8e3db7e93a90205b75948c5e05 (diff) | |
parent | d979a60b3632b291b2c13c503bf1aeb1ad022b10 (diff) | |
download | pfsense-packages-6bb72c8d94de738005f1d67b9227f1d863c91434.tar.gz pfsense-packages-6bb72c8d94de738005f1d67b9227f1d863c91434.tar.bz2 pfsense-packages-6bb72c8d94de738005f1d67b9227f1d863c91434.zip |
Merge pull request #888 from PiBa-NL/ntopng_mkdir
Diffstat (limited to 'config')
-rw-r--r-- | config/ntopng/ntopng.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ntopng/ntopng.xml b/config/ntopng/ntopng.xml index 2bb957b4..778881e8 100644 --- a/config/ntopng/ntopng.xml +++ b/config/ntopng/ntopng.xml @@ -153,7 +153,7 @@ $ntopng_config =& $config['installedpackages']['ntopng']['config'][0]; $if_final = ""; $ifaces_final = ""; - mkdir("/var/db/ntopng/rrd/graphics", 0755, true); + safe_mkdir("/var/db/ntopng/rrd/graphics", 0755, true); system("/bin/chmod -R 755 /var/db/ntopng"); system("/usr/sbin/chown -R nobody:nobody /var/db/ntopng"); system("/bin/cp -Rp /usr/local/lib/X11/fonts/webfonts/ /usr/local/lib/X11/fonts/TTF/"); |