From 9ba11c79e570b185bb598ed4d46823fb7ac5cfa5 Mon Sep 17 00:00:00 2001
From: Mark Crane
Date: Sat, 27 Dec 2008 00:01:13 +0000
Subject: TFTP backup work and service show if service is active
---
packages/tftp/tftp.inc | 6 ++--
packages/tftp/tftp.xml | 4 +--
packages/tftp/tftp_files.tmp | 70 +++++++++++++++++++++-----------------------
3 files changed, 38 insertions(+), 42 deletions(-)
(limited to 'packages')
diff --git a/packages/tftp/tftp.inc b/packages/tftp/tftp.inc
index 0e86b400..61a41a58 100644
--- a/packages/tftp/tftp.inc
+++ b/packages/tftp/tftp.inc
@@ -144,12 +144,12 @@ function php_install_command()
);
- //sync_package_freeswitch();
+ //php_sync_package();
$handle = popen("/usr/sbin/inetd", "r");
pclose($handle);
- //if (pkg_is_service_running('freeswitch')) {
- // sync_package_freeswitch_ivr();
+ //if (pkg_is_service_running('inetd')) {
+ // temp_sync_package();
//}
//conf_mount_ro();
diff --git a/packages/tftp/tftp.xml b/packages/tftp/tftp.xml
index eee6ddcc..51989fad 100644
--- a/packages/tftp/tftp.xml
+++ b/packages/tftp/tftp.xml
@@ -41,7 +41,7 @@
Describe your package requirements hereCurrently there are no FAQ items provided.tftp Settings
- 0.7.4
+ 0.7.5TFTP: Settings/usr/local/pkg/tftp.inc
-
+\n";
+echo "
\n";
+echo "
\n";
+echo "Backup / Restore \n";
+echo "The 'backup' button will tar gzip /tftpboot/ to /tmp/tftp.bak.tgz it then presents a file to download. \n";
+echo "If the backup file does not exist in /tmp/tftp.bak.tgz then the 'restore' button will be hidden. \n";
+echo "Use Diagnostics->Command->File to upload: to browse to the file and then click on upload it now ready to be restored. \n";
+echo "