diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-11 21:57:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-11 21:57:12 +0000 |
commit | f1573d7186c22d2c6e61642e34931b4522f413e4 (patch) | |
tree | 8daba1c34a7a366216ec5e72a2fdd20bbf297280 | |
parent | af4a5f8a2796ec10aeaee96d66fb339be18e58ff (diff) | |
download | pfsense-packages-f1573d7186c22d2c6e61642e34931b4522f413e4.tar.gz pfsense-packages-f1573d7186c22d2c6e61642e34931b4522f413e4.tar.bz2 pfsense-packages-f1573d7186c22d2c6e61642e34931b4522f413e4.zip |
Make sure /usr/local/etc/rc.d/ntop* goes away during package deinstall.
-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> |