aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ifstated.xml
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-03-21 04:32:13 +0000
committerColin Smith <colin@pfsense.org>2005-03-21 04:32:13 +0000
commitc34fb5342a439e59323e34185727f182e52801e2 (patch)
tree3484cd4248a3e8a09a325892254e290a0e7dbef7 /packages/ifstated.xml
parent1edd830d8e1dcf41b9f9426e27c387c7b0616f22 (diff)
downloadpfsense-packages-c34fb5342a439e59323e34185727f182e52801e2.tar.gz
pfsense-packages-c34fb5342a439e59323e34185727f182e52801e2.tar.bz2
pfsense-packages-c34fb5342a439e59323e34185727f182e52801e2.zip
Remove unnecessary calls to rm - use unlink_if_exists or rmdir_recursive.
Diffstat (limited to 'packages/ifstated.xml')
-rw-r--r--packages/ifstated.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/ifstated.xml b/packages/ifstated.xml
index d5901412..df60345c 100644
--- a/packages/ifstated.xml
+++ b/packages/ifstated.xml
@@ -61,7 +61,6 @@
</fields>
<custom_php_install_command>
global $config;
- mwexec("rm /usr/local/etc/rc.d/ifstated*");
$fout = fopen("/usr/local/etc/rc.d/ifstated.sh","w");
fwrite($fout,"#!/bin/sh\n\n/usr/local/sbin/ifstated\n");
fclose($fout);