aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-03-14 22:59:15 -0600
committermcrane <mctch@yahoo.com>2009-03-14 22:59:15 -0600
commit8786348e8a19e788cbca12b88b60191fa6f6b6d6 (patch)
tree1b0ce0894d55becc11f6a74182a0cf4785db8104
parentb753fe0f921c682542fb3aafd388e67a5cc32727 (diff)
downloadpfsense-packages-8786348e8a19e788cbca12b88b60191fa6f6b6d6.tar.gz
pfsense-packages-8786348e8a19e788cbca12b88b60191fa6f6b6d6.tar.bz2
pfsense-packages-8786348e8a19e788cbca12b88b60191fa6f6b6d6.zip
Move the tftp package to the /usr/local/www/packages/tftp directory
-rw-r--r--config/tftp/tftp.inc8
-rw-r--r--config/tftp/tftp.xml4
2 files changed, 6 insertions, 6 deletions
diff --git a/config/tftp/tftp.inc b/config/tftp/tftp.inc
index a7053df9..ee65f52d 100644
--- a/config/tftp/tftp.inc
+++ b/config/tftp/tftp.inc
@@ -109,14 +109,14 @@ function php_install_command()
}
- if (!is_dir('/usr/local/www/tftp')) {
+ if (!is_dir('/usr/local/www/packages/tftp')) {
// Create the directory
- exec("mkdir /usr/local/www/tftp");
+ exec("mkdir /usr/local/www/packages/tftp");
}
//rename PHP files from .tmp to .php
- exec("cp /tmp/tftp_files.tmp /usr/local/www/tftp/tftp_files.php");
+ exec("cp /tmp/tftp_files.tmp /usr/local/www/packages/tftp/tftp_files.php");
unlink_if_exists("/tmp/tftp_files.tmp");
//prepare inetd.conf for tftp
@@ -268,7 +268,7 @@ function php_deinstall_command()
unlink_if_exists("/usr/local/pkg/tftp.xml");
unlink_if_exists("/usr/local/pkg/tftp.inc");
- unlink_if_exists("/usr/local/www/tftp/tftp_files.php");
+ unlink_if_exists("/usr/local/www/packages/tftp/tftp_files.php");
exec("rm -R /tftpboot");
unlink_if_exists("/usr/local/etc/rc.d/tftp.sh");
diff --git a/config/tftp/tftp.xml b/config/tftp/tftp.xml
index e7b69d6b..cf7a2a98 100644
--- a/config/tftp/tftp.xml
+++ b/config/tftp/tftp.xml
@@ -41,7 +41,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>tftp Settings</name>
- <version>1.0.2</version>
+ <version>1.0.3</version>
<title>TFTP: Settings</title>
<include_file>/usr/local/pkg/tftp.inc</include_file>
<menu>
@@ -49,7 +49,7 @@
<tooltiptext>Add or Remove files for TFTP.</tooltiptext>
<section>Services</section>
<configfile>tftp.xml</configfile>
- <url>/tftp/tftp_files.php</url>
+ <url>/packages/tftp/tftp_files.php</url>
</menu>
<service>
<name>tftp</name>