diff options
author | mcrane <mctch@yahoo.com> | 2009-03-27 18:36:25 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-03-27 18:36:25 -0600 |
commit | d24ce8924908cbaa8b2484848d340f8f3b5250e5 (patch) | |
tree | cc2bbe8b1dddc1e29b00a87c0d1e98ebe3912ff9 /config/tftp | |
parent | e71f29843a079db4b5ca9f6636342c69ab1a22c8 (diff) | |
download | pfsense-packages-d24ce8924908cbaa8b2484848d340f8f3b5250e5.tar.gz pfsense-packages-d24ce8924908cbaa8b2484848d340f8f3b5250e5.tar.bz2 pfsense-packages-d24ce8924908cbaa8b2484848d340f8f3b5250e5.zip |
TFTP fix file paths
Diffstat (limited to 'config/tftp')
-rw-r--r-- | config/tftp/tftp.inc | 7 | ||||
-rw-r--r-- | config/tftp/tftp.xml | 4 |
2 files changed, 8 insertions, 3 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> |