diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-16 18:11:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-16 18:11:17 +0000 |
commit | b065cd7244779ee32a7ba01e8d4a1d0f6551d04e (patch) | |
tree | 56f5f39a9fa6876ec40584767b8ed38d51be0c9c /packages/ntop | |
parent | f92393cc0a9cd40efdb52f53a0046e3f6cd7df75 (diff) | |
download | pfsense-packages-b065cd7244779ee32a7ba01e8d4a1d0f6551d04e.tar.gz pfsense-packages-b065cd7244779ee32a7ba01e8d4a1d0f6551d04e.tar.bz2 pfsense-packages-b065cd7244779ee32a7ba01e8d4a1d0f6551d04e.zip |
Kill any running ntop processes before relaunching after configuration changes.
Diffstat (limited to 'packages/ntop')
-rw-r--r-- | packages/ntop/ntop.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml index eed18bb7..eaf25619 100644 --- a/packages/ntop/ntop.xml +++ b/packages/ntop/ntop.xml @@ -58,6 +58,7 @@ fwrite($fout, "/usr/local/bin/ntop " . $interfaces . " -u root -d --ipv4 -M\n\n"); fclose($fout); system("chmod 555 /usr/local/etc/rc.d/ntop.sh"); + system("killall ntop 2>/dev/null"); system("/usr/local/etc/rc.d/ntop.sh"); } else { echo "Passwords do not match!"; |