aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tftp/tftp.inc
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2008-12-26 23:14:38 +0000
committerMark Crane <mcrane@pfsense.org>2008-12-26 23:14:38 +0000
commitcaba11a8e7089cec153d4943538217cbca555dc0 (patch)
tree62a28bd8ed3aaa3a532399f17ea46e19db3c2892 /packages/tftp/tftp.inc
parente69077d54753fba4706d433a444f1377ef554ed5 (diff)
downloadpfsense-packages-caba11a8e7089cec153d4943538217cbca555dc0.tar.gz
pfsense-packages-caba11a8e7089cec153d4943538217cbca555dc0.tar.bz2
pfsense-packages-caba11a8e7089cec153d4943538217cbca555dc0.zip
tftp add backup for the tftp directory
Diffstat (limited to 'packages/tftp/tftp.inc')
-rw-r--r--packages/tftp/tftp.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/tftp/tftp.inc b/packages/tftp/tftp.inc
index de6b90db..0e86b400 100644
--- a/packages/tftp/tftp.inc
+++ b/packages/tftp/tftp.inc
@@ -130,9 +130,7 @@ function php_install_command()
//extract a specific directory to /usr/local/freeswitch
if (file_exists('/tmp/'.$filename)) {
- //echo "The file $filename exists";
-
- //Recommended
+ //echo "The file $filename exists";
system('cd /tftpboot; tar xvpfz /tmp/'.$filename.' tftpboot/');
unset($filename);