From f1573d7186c22d2c6e61642e34931b4522f413e4 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 11 Aug 2006 21:57:12 +0000 Subject: Make sure /usr/local/etc/rc.d/ntop* goes away during package deinstall. --- packages/ntop/ntop.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'packages') 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 @@ sync_package_ntop(); + + + + exec("rm /usr/local/etc/rc.d/ntop*"); + -- cgit v1.2.3