aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ntop
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-11 21:57:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-11 21:57:12 +0000
commitf1573d7186c22d2c6e61642e34931b4522f413e4 (patch)
tree8daba1c34a7a366216ec5e72a2fdd20bbf297280 /packages/ntop
parentaf4a5f8a2796ec10aeaee96d66fb339be18e58ff (diff)
downloadpfsense-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.
Diffstat (limited to 'packages/ntop')
-rw-r--r--packages/ntop/ntop.xml7
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 &amp;";
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>