Commit Graph

291 Commits

Author SHA1 Message Date
Asif Bacchus 3b72240d8c Added sqlDetails parameter check 2018-10-03 15:57:30 -06:00
Asif Bacchus 48d06eaa58 Separated if statements for prerequisite checks 2018-10-03 15:38:35 -06:00
Asif Bacchus 9661209194 Set default value for sqlDetails 2018-10-03 15:36:18 -06:00
Asif Bacchus b3e9b4a0da Added sqlDetails variable 2018-10-03 15:34:44 -06:00
Asif Bacchus 92fab88c0b Updated ignored files 2018-10-03 15:31:25 -06:00
Asif Bacchus 1a70bafdd8 Added ncMaint sections with info messages.
Changed ncMaint fcn to condense code.
2018-10-03 15:01:10 -06:00
Asif Bacchus a4c8432882 Added temp debugging exit message for graceful exits 2018-10-03 15:00:18 -06:00
Asif Bacchus 85b5c15672 Updated ncRoot checks 2018-10-03 14:04:18 -06:00
Asif Bacchus c1c02132af Add webUser checks 2018-10-03 13:57:02 -06:00
Asif Bacchus 3f0b8a0d30 Reactivated ncRoot parameter checking 2018-10-03 13:37:15 -06:00
Asif Bacchus b7a04a9422 quoted webuser variable in ncMain fcn to prevent globbing 2018-10-03 12:59:06 -06:00
Asif Bacchus ed77963bd0 Fixed -5 parameter section to re-derrive err503File from supplied path. 2018-10-02 00:22:48 -06:00
Asif Bacchus ff834d98a4 Debugged 503 section and fixed typos in warnings. 2018-10-02 00:18:00 -06:00
Asif Bacchus 325805ef37 Added check variable to determine if 503 cleanup required 2018-10-02 00:07:32 -06:00
Asif Bacchus b3d1b3ea65 Updated 503 copy section to use err503Path 2018-10-01 23:59:26 -06:00
Asif Bacchus d0d3cf8da1 Changed parameter -5 to path, derrive err503File 2018-10-01 23:57:57 -06:00
Asif Bacchus bb0c5b2f66 Updated cleanup function to conform with check for webroot vs err503File 2018-10-01 23:33:57 -06:00
Asif Bacchus 1172defe7e Changed parameter check to allow for none provided or starting with '-' 2018-10-01 23:26:04 -06:00
Asif Bacchus fee66eb2cd Set default err503File variable to 503.html in scriptPath 2018-10-01 23:23:06 -06:00
Asif Bacchus bea22ce4c9 Changed 503 warning codes 2018-10-01 23:19:11 -06:00
Asif Bacchus fc0a7c056c Rewrote 503 copy to webroot and verify section. 2018-10-01 23:10:20 -06:00
Asif Bacchus 0e2fa901f1 New branch: 503 section now based on webroot not err503File existance.
Finished check for webroot.
2018-10-01 23:02:52 -06:00
Asif Bacchus d8ed05ae08 Strip any trailing slashes from webroot input 2018-09-30 22:22:48 -06:00
Asif Bacchus 0802b00a59 Tested 503 section. Cleaned up info and error messages. 2018-09-30 22:19:09 -06:00
Asif Bacchus 239d2c60fb Removed testing env files from main git 2018-09-30 22:04:21 -06:00
Asif Bacchus 2e1a3d7bde Updated formatting and changed op colour 2018-09-30 21:54:27 -06:00
Asif Bacchus caf2f6feb0 Formatting: Start tag 2018-09-30 21:49:15 -06:00
Asif Bacchus b0218ea8a4 Formatting: updated warn503 2018-09-30 21:48:15 -06:00
Asif Bacchus a6fcaf6012 Changed parameter titles 2018-09-30 21:38:54 -06:00
Asif Bacchus 2281510135 Removed ambiguity between webroot and ncRoot 2018-09-30 21:38:04 -06:00
Asif Bacchus 5064736e90 Added ncRoot references 2018-09-30 21:35:43 -06:00
Asif Bacchus ec70de618c Updated formatting tags to descriptive names 2018-09-30 21:32:26 -06:00
Asif Bacchus 91b53f1c35 Add prerequisite parameter check section 2018-09-30 20:24:24 -06:00
Asif Bacchus 1a59c9e7d8 Changed warn503 formatting 2018-09-30 20:15:12 -06:00
Asif Bacchus 04feb2644f Added parameter check so lack of '-' triggers help screen also 2018-09-30 20:13:11 -06:00
Asif Bacchus 43f97e6fa0 Removed default 503 setting 2018-09-30 20:08:45 -06:00
Asif Bacchus 364b233354 renamed included 503 file for ease of reference 2018-09-30 20:07:00 -06:00
Asif Bacchus bd22db85df Set default params and cleaned up comments for the same 2018-09-30 20:06:25 -06:00
Asif Bacchus 3733942596 Reactivated call to help screen on missing parameters 2018-09-30 20:02:22 -06:00
Asif Bacchus 370d9d34a7 Added cleanup skip 503 if null 2018-09-30 20:00:39 -06:00
Asif Bacchus 1d8909dbe0 Formatting: start of script coloured magenta in log 2018-09-30 19:52:16 -06:00
Asif Bacchus 5c0695a3e6 If no root permissions, exit and display error on console, no logging. 2018-09-30 19:49:56 -06:00
Asif Bacchus 9831eb2454 Deleted unnecessary file 2018-09-30 19:46:20 -06:00
Asif Bacchus f1b4f69029 Removed all intra-script warning logging. Let 'quit' handle it. 2018-09-30 19:40:17 -06:00
Asif Bacchus ddf9544239 Quit: Changed warnings and errors to single-line for cleaner filtering. 2018-09-30 19:37:26 -06:00
Asif Bacchus 6ec2444891 Formatting: replaced cyan with lightcyan 2018-09-30 19:30:22 -06:00
Asif Bacchus 008a941674 Formatting: replaced bold yellow with lightyellow 2018-09-30 19:29:02 -06:00
Asif Bacchus 59ef92155f Tested and debugged cleanup 2018-09-20 00:46:10 -06:00
Asif Bacchus 44a67156a3 Changed 503 file name variable 2018-09-20 00:22:40 -06:00
Asif Bacchus 169219bd91 Added cleanup function 2018-09-20 00:19:59 -06:00