From 7e6fad76175d9e872063dff755c0f74fec866821 Mon Sep 17 00:00:00 2001 From: mcrane Date: Fri, 27 Mar 2009 19:08:43 -0600 Subject: TFTP package make the backup deliver the backup file as a download, fix restore and add restore message --- config/tftp/tftp.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/tftp/tftp.inc') diff --git a/config/tftp/tftp.inc b/config/tftp/tftp.inc index 8649bc22..61d81b4a 100644 --- a/config/tftp/tftp.inc +++ b/config/tftp/tftp.inc @@ -274,8 +274,9 @@ 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/packages/tftp/tftp_files.php"); + exec("rm -R /usr/local/www/packages/tftp/"); - exec("rm -R /tftpboot"); + //exec("rm -R /tftpboot"); unlink_if_exists("/usr/local/etc/rc.d/tftp.sh"); unlink_if_exists("/tmp/pkg_mgr_tftp.log"); -- cgit v1.2.3