diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2015-06-20 16:12:46 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2015-06-20 16:12:46 +0200 |
commit | 46382c28667b8a90141a88b09e8de84d41e262df (patch) | |
tree | d6b3b6e6fe306a377e823c27eab42b073d142a2b /config/ntopng | |
parent | fbf36587a4c10add5fb46f807d56892c6c39b6d4 (diff) | |
download | pfsense-packages-46382c28667b8a90141a88b09e8de84d41e262df.tar.gz pfsense-packages-46382c28667b8a90141a88b09e8de84d41e262df.tar.bz2 pfsense-packages-46382c28667b8a90141a88b09e8de84d41e262df.zip |
ntopng, fix mkdir warning while booting, use safe_mkdir
Diffstat (limited to 'config/ntopng')
-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/"); |