Commit Graph

56 Commits

Author SHA1 Message Date
Scott Ullrich
ab757ebc84 Add additional text that might explain what this script does 2008-10-24 00:17:01 +00:00
Scott Ullrich
0c68311c6b Use tabs to seperate option and text 2008-10-24 00:15:37 +00:00
Scott Ullrich
d56e44ba31 Show the backup date and time available for RESTORE 2008-10-24 00:13:39 +00:00
Scott Ullrich
76e74f41d4 Correct 0 - Array error 2008-10-23 22:49:51 +00:00
Scott Ullrich
94d73e3d3a Clarify operation in progress 2008-09-08 21:51:15 +00:00
Scott Ullrich
8d9a67b2ec Eliminate unneeded , 2008-09-07 01:09:56 +00:00
Scott Ullrich
254454a2f6 Hide misc errors that occur on / when we have a read-only filesystem (livecd). 2008-09-06 23:33:07 +00:00
Scott Ullrich
347819236f * Cleanup php fastcgi files better
* Remove *.tmp files
2008-09-06 23:12:48 +00:00
Scott Ullrich
4f05fc7357 Do not update platform on cvssync runs 2008-09-06 22:02:38 +00:00
Scott Ullrich
b9c529eba6 It is now technically possible to cvssync livecd for testing :) 2008-09-06 21:57:46 +00:00
Scott Ullrich
bfc956c056 Move cvssync functions to /root/ 2008-09-06 20:25:51 +00:00
Scott Ullrich
b8e4d27622 Revert. 2008-08-31 02:12:04 +00:00
Scott Ullrich
55251f1adc Output file we are copying. Somehow it appears that niftyjsCode.js
is failing to copy.
2008-08-30 02:29:07 +00:00
Scott Ullrich
84b5f39b77 Add fourth parameter NOBACKUP 2008-08-23 22:47:18 +00:00
Matthew Grooms
659fa7f23b Cleanup authentication code. The basic auth method, the passwd, htpasswd
and pam backing functions have been removed. The basic auth method was
legacy code and the backing functions were redundant with no added value
that I could see. A simplified replacement backing function named
local_backed has been added that authenticates to the local configuration
info which should be identical to system pwdb credentials. Since the
htpassword file is no longer required, sync_webgui_passwords and its
wrapper function system_password_configure have been removed.

The local account management functions were renamed for consistency. A few
minor bugs related to setting local passwords have also been corrected.
2008-08-03 17:54:35 +00:00
Scott Ullrich
c9030aec22 Do not backup /var/empty 2008-07-31 21:54:45 +00:00
Scott Ullrich
9226ab399f Unlink files when restoring. 2008-07-31 21:50:41 +00:00
Scott Ullrich
d688f4e0d2 Break out text to new line, pause for 5 seconds after showing backup size. 2008-07-31 21:36:21 +00:00
Scott Ullrich
8388bbc67a Report backup size after completion. 2008-07-31 21:34:11 +00:00
Scott Ullrich
36db7251ea Add line break to make the text look tidy. 2008-07-31 21:30:06 +00:00
Scott Ullrich
e469df3dda Alert user we are restarting lighty and friends in 5 seconds. 2008-07-31 21:02:09 +00:00
Scott Ullrich
e265afd077 Launch helper script in background to relaunch lighty and friends. 2008-07-31 20:59:59 +00:00
Scott Ullrich
13d219d74d Output echos in the correct order. 2008-07-31 20:57:32 +00:00
Scott Ullrich
26aa0611ac Output more details during restart operations 2008-07-31 20:55:27 +00:00
Scott Ullrich
1bbb52e6bc Spell exclude correctly 2008-07-31 20:51:50 +00:00
Scott Ullrich
665bba7534 * Ignore /var/run during backups
* Exec restart commands in background
2008-07-31 20:50:52 +00:00
Scott Ullrich
8d136ee2fc Remove ermals testing branch. These changes have been merged. 2008-07-31 20:47:28 +00:00
Scott Ullrich
ff33e21f1f * Backup prior configuration before syncing. Tired of blowing up my
firewall and having to spend hours to get back online.  This is not
  exactly productive.
* Add a RESTORE option as a branch if we detect a previous CVSSYNC.

With these changes it should be easy as pie to revert to the last known
good working state.
2008-07-31 20:46:50 +00:00
Scott Ullrich
171217dc71 * HEAD is dead, zed.
* Add RELENG_1_MULTI_ANYTHING for ermals branch
2008-06-29 22:21:46 +00:00
Chris Buechler
2b519cf71b fully back out previous change and fix cvssync 2008-06-22 05:24:59 +00:00
Scott Ullrich
5f4e06a21a Back out last change, no longer needed. 2008-06-22 04:23:31 +00:00
Scott Ullrich
3a77a392d7 Do not overwrite 0 sized bianries during cvssync
Reported-by: BillM
2008-06-19 18:03:13 +00:00
Scott Ullrich
2b06594347 Ticket #1678 fixes 2008-05-17 20:46:43 +00:00
Scott Ullrich
138e0be866 Clarify comment. 2008-03-11 03:05:25 +00:00
Scott Ullrich
aa0b2c975b Restart webConfigurator first. 2008-03-10 02:41:28 +00:00
Scott Ullrich
155fc60e9b * Use general pkg for cvsup-without-gui
* Download static cvs binary from files.pfsense.org
2008-03-08 01:12:15 +00:00
Scott Ullrich
9bb3e055fb Update (C) and comment 2007-12-13 05:07:06 +00:00
Scott Ullrich
9b252d6853 Correct release information 2007-12-12 22:30:50 +00:00
Scott Ullrich
76e155ccc3 Require auth.inc 2007-12-02 03:57:04 +00:00
Scott Ullrich
537bc12e14 Really allow command arguments from pfSsh.php 2007-11-24 04:38:36 +00:00
Scott Ullrich
7184512000 Allow command arguments from pfSsh.php 2007-11-24 04:35:32 +00:00
Scott Ullrich
44d2484c33 Remove syslog.conf from checked out files marked for updating. 2007-11-24 01:43:50 +00:00
Scott Ullrich
9fa767282b Move branch names and descriptions to an array instead of hard coding. 2007-11-23 22:44:57 +00:00
Scott Ullrich
2680d791ac Add restartipsec script 2007-11-23 21:26:29 +00:00
Scott Ullrich
9c55f82494 Remove extra c/r 2007-11-23 08:10:50 +00:00
Scott Ullrich
96ebb0a6b6 Allow arguments to be passed to cvssync so you can do:
pfSsh.php playback cvssync RELENG_1
2007-11-23 07:57:22 +00:00
Scott Ullrich
6475461880 Note script is "Terminating" at end. 2007-11-23 07:47:39 +00:00
Scott Ullrich
784cca4da1 Simplify the process and do not download the entire cvs tree for cvssync operations. Simply cvsup the needed branch. Saves bandwidth, time, diskspace, etc. 2007-11-23 07:42:26 +00:00
Scott Ullrich
991193e4ef Add restart dhcp server script 2007-11-23 06:38:45 +00:00
Scott Ullrich
90d9604ae2 Add missing carriage returns 2007-11-23 06:14:19 +00:00