diff options
author | Mark Crane <mcrane@pfsense.org> | 2008-12-26 23:14:38 +0000 |
---|---|---|
committer | Mark Crane <mcrane@pfsense.org> | 2008-12-26 23:14:38 +0000 |
commit | caba11a8e7089cec153d4943538217cbca555dc0 (patch) | |
tree | 62a28bd8ed3aaa3a532399f17ea46e19db3c2892 /packages/tftp/tftp.inc | |
parent | e69077d54753fba4706d433a444f1377ef554ed5 (diff) | |
download | pfsense-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.inc | 4 |
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); |