From 13e7fe7f0984d0de0f0eb111732b940babfee8de Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 31 Mar 2005 04:19:20 +0000 Subject: If the old location of carp.sh exists, delete it. --- packages/carp.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') diff --git a/packages/carp.xml b/packages/carp.xml index c24a4f22..b1891522 100644 --- a/packages/carp.xml +++ b/packages/carp.xml @@ -216,6 +216,7 @@ */ conf_mount_rw(); config_lock(); + if(file_exists("/usr/local/etc/rc.d/carp.sh")) system("rm /usr/local/etc/rc.d/carp.sh"); $fout = fopen("/usr/local/pkg/pf/carp.sh","w"); fwrite($fout, "#!/bin/sh \n"); global $config; -- cgit v1.2.3