aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/tftp/tftp.inc7
-rw-r--r--config/tftp/tftp.xml4
-rwxr-xr-xpkg_config.7.xml2
3 files changed, 9 insertions, 4 deletions
diff --git a/config/tftp/tftp.inc b/config/tftp/tftp.inc
index ee65f52d..8649bc22 100644
--- a/config/tftp/tftp.inc
+++ b/config/tftp/tftp.inc
@@ -109,8 +109,13 @@ function php_install_command()
}
+ if (!is_dir('/usr/local/www/packages/')) {
+ // Create the packages directory
+ exec("mkdir /usr/local/www/packages/");
+ }
+
if (!is_dir('/usr/local/www/packages/tftp')) {
- // Create the directory
+ // Create the tftp directory
exec("mkdir /usr/local/www/packages/tftp");
}
diff --git a/config/tftp/tftp.xml b/config/tftp/tftp.xml
index cf7a2a98..343110f5 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.3</version>
+ <version>1.0.4</version>
<title>TFTP: Settings</title>
<include_file>/usr/local/pkg/tftp.inc</include_file>
<menu>
@@ -60,7 +60,7 @@
<tabs>
<tab>
<text>Files</text>
- <url>/tftp/tftp_files.php</url>
+ <url>/packages/tftp/tftp_files.php</url>
</tab>
</tabs>
<configpath>installedpackages->package->$packagename->configuration->tftp</configpath>
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index efd97437..df7335ba 100755
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -120,7 +120,7 @@
<pkginfolink/>
<config_file>http://www.pfsense.com/packages/config/tftp/tftp.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
- <version>1.0.2</version>
+ <version>1.0.3</version>
<status>Stable</status>
<required_version>1.2.1</required_version>
<maintainer>markjcrane@gmail.com</maintainer>