diff options
Diffstat (limited to 'packages/ntop/ntop.xml')
-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!"; |