From: Joe Z. <jz...@us...> - 2004-04-07 23:45:12
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26775 Modified Files: admin.php RELEASE-NOTES Log Message: Add functionality to the "Backup Now" page. Index: admin.php =================================================================== RCS file: /cvsroot/bobs/bobs/admin.php,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- admin.php 29 Dec 2003 02:43:28 -0000 1.25 +++ admin.php 7 Apr 2004 23:32:09 -0000 1.26 @@ -585,8 +585,19 @@ $script = $t->fetch(); // and get it into a variable $backup->add_queue_command($script, 'php'); // that I can submit to cmdloop. - echo "*** Backing up $server/$share\n"; + // Display the "Backup Now" screen + $t = new rFastTemplate('inc/templates'); // Instantiate new template + $t->define(array('backup_now_html' => 'backup_now.thtml')); + // Tell rfasttemplate the template file name + $t->assign('HEADER', implode("", file('inc/header.pinc'))); + // Load the page header + $t->assign('PHPSELF', "$PHPSELF"); // Replace PHPSELF with the current URL + $t->assign('SERVER', $server); + $t->assign('SHARE', $share); + + $t->parse('BACKUP_NOW_HTML', 'backup_now_html'); // Prepare the final output + $t->FastPrint(); // and send it to stdout. } // --------------------------------------------------------- Index: RELEASE-NOTES =================================================================== RCS file: /cvsroot/bobs/bobs/RELEASE-NOTES,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- RELEASE-NOTES 28 Mar 2004 22:33:21 -0000 1.1 +++ RELEASE-NOTES 7 Apr 2004 23:32:09 -0000 1.2 @@ -2,9 +2,11 @@ IMPORTANT! -If you are upgrading from release 0.6.1 or earlier, or from a cvs version -prior to 03-27-2004, you must uninstall bobs before configuring or -installing a newer release. Uninstalling bobs following one of the methods +If you are upgrading from release 0.6.1 or earlier, or from a cvs +version prior to 03-27-2004, you must uninstall bobs before configuring +or installing a newer release. This is necessary because of the way +cmdloop gets started. cmdloop is now started from /etc/init.d/cmdloopd +instead /etc/crontab. Uninstalling bobs following one of the methods below will not erase your configuration data or backups. To uninstall a bobs rpm: @@ -18,9 +20,6 @@ su make uninstall -This is necessary because of the way cmdloop gets started. cmdloop is now -started from /etc/init.d/cmdloopd instead /etc/crontab. - If you fail to uninstall bobs before installing a new version, then do the following steps: @@ -30,6 +29,16 @@ o Start the new cmdloop by typing: /etc/init.d/cmdloopd start ---------- +IF CMDLOOP DOESN'T START AUTOMATICALLY ON BOOT + +If cmdloop doesn't start when you boot up your machine it may because +you have a distribution other than Redhat that doesn't have the +/sbin/chkconfig command. That's okay. Just add the following line to +your system startup script for your distribution: + + /etc/init.d/cmdloopd start + +---------- bobs release 0.6.2 cmdloop is now started from /etc/init.d/cmdloopd. It should start |