diff options
author | Colin Smith <colin@pfsense.org> | 2005-02-26 04:35:32 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-02-26 04:35:32 +0000 |
commit | 90c54d668f3b0c5bcd7767e11da5aa1479b4861f (patch) | |
tree | 397d3c5489f7bf4e2c1e8aedcde8e4ab0bcf624f /packages/ntop | |
parent | 0f57225f3c0364ae17ccc5a79d18dd719e7e4658 (diff) | |
download | pfsense-packages-90c54d668f3b0c5bcd7767e11da5aa1479b4861f.tar.gz pfsense-packages-90c54d668f3b0c5bcd7767e11da5aa1479b4861f.tar.bz2 pfsense-packages-90c54d668f3b0c5bcd7767e11da5aa1479b4861f.zip |
* Add config locking and remounting.
* FreeRADIUS typo correction.
* Change <name> in powerdns.xml: nmap -> powerdns
Diffstat (limited to 'packages/ntop')
-rw-r--r-- | packages/ntop/ntop.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml index 5a59526b..56cc73cf 100644 --- a/packages/ntop/ntop.xml +++ b/packages/ntop/ntop.xml @@ -53,6 +53,8 @@ </field> </fields> <custom_add_php_command> + conf_mount_rw(); + config_lock(); if($_POST['password'] == $_POST['passwordagain']) { $interfaces = " -i "; $ifaces=$_POST['iface']; @@ -70,6 +72,8 @@ fwrite($fout, "#!/bin/sh\n\n"); fwrite($fout, "/usr/local/bin/ntop " . $interfaces . " -u root -d --ipv4 -M\n\n"); fclose($fout); + conf_mount_ro(); + config_unlock(); system("chmod 555 /usr/local/etc/rc.d/ntop.sh"); system("killall ntop 2>/dev/null"); system("/usr/local/etc/rc.d/ntop.sh"); |