diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/ntop/ntop.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml index e9864430..ae410289 100644 --- a/packages/ntop/ntop.xml +++ b/packages/ntop/ntop.xml @@ -88,7 +88,7 @@ $start = "/usr/local/bin/ntop -i " . $ifaces_final . " -u root -d --ipv4 -M -x 8102 -X 8192 &"; write_rcfile(array( "file" => "ntop.sh", - "start" => $start, + "start" => $start, "stop" => "/usr/bin/killall ntop" ) ); @@ -109,4 +109,9 @@ <custom_php_resync_command> sync_package_ntop(); </custom_php_resync_command> + <custom_php_install_command> + </custom_php_install_command> + <custom_php_deinstall_command> + exec("rm /usr/local/etc/rc.d/ntop*"); + </custom_php_deinstall_command> </packagegui> |