Commit Graph

  • e7935dbd99 refactor(SYSTEMD): update service file switches Asif Bacchus 2021-05-08 04:06:04 -06:00
  • 029cef1d7f chore(GIT): add gitattributes file Asif Bacchus 2021-05-08 04:03:18 -06:00
  • 52f5ef96e8 refactor: replace BASH script with new POSIX one Asif Bacchus 2021-05-08 04:00:15 -06:00
  • 124644e38e feature: add console and no-logging features Asif Bacchus 2021-05-08 03:58:30 -06:00
  • a060e72ea0 fix: confirm creds exist if using default location Asif Bacchus 2021-05-08 03:50:58 -06:00
  • 7bc5f73e27 docs: add in-script example commands Asif Bacchus 2021-05-08 03:43:47 -06:00
  • 94e1208af2 docs: add in-script help Asif Bacchus 2021-05-08 03:29:37 -06:00
  • d7be713574 refactor: use patch to only change IP Asif Bacchus 2021-05-08 02:37:28 -06:00
  • cc3f52b849 struct: finish operational rewrite Asif Bacchus 2021-05-08 02:05:32 -06:00
  • 36ececcb5d struct(templates): add sample credentials file Asif Bacchus 2021-05-08 02:04:03 -06:00
  • 53f7245001 feature: auto-detect ip, update exit func Asif Bacchus 2021-05-07 15:32:46 -06:00
  • cf820d777d refactor: ip4 and ip6 mutual override Asif Bacchus 2021-05-07 14:03:52 -06:00
  • 1ede37961f fix: turn off ip4 when ip6 selected Asif Bacchus 2021-05-07 14:00:32 -06:00
  • 5a477d6c86 feature: initial logging, add curl check Asif Bacchus 2021-05-07 13:59:07 -06:00
  • 911526dd08 struct: skeleton of POSIX script version Asif Bacchus 2021-05-07 13:30:33 -06:00
  • 2e978050b6 Added spacing for readability Asif Bacchus 2018-10-01 22:25:54 -06:00
  • ba2b728e88 Added section about detail level in service config file Asif Bacchus 2018-10-01 22:25:18 -06:00
  • 7470b2c1fa Added commented out Detail setting in the service defintion file Asif Bacchus 2018-10-01 22:20:17 -06:00
  • a43a0bf80e Updated to include logrotate instructions and new TOC Asif Bacchus 2018-09-28 00:07:41 -06:00
  • 2db482e800 Created sample logrotate config file Asif Bacchus 2018-09-27 23:52:03 -06:00
  • 7f90f496a9 Cleaned up TOC Asif Bacchus 2018-09-27 19:31:09 -06:00
  • fe9b7fc578 Cleaned up markdown code Asif Bacchus 2018-09-27 19:30:14 -06:00
  • a901fc7ea2 Proofreading Asif Bacchus 2018-09-27 19:25:23 -06:00
  • 689f11beba Updated TOC to remove improper headings Asif Bacchus 2018-09-27 19:01:38 -06:00
  • 0b2668f150 Added auto-generated TOC Asif Bacchus 2018-09-27 18:55:20 -06:00
  • 35cdd91089 Initial Logwatch integration readme Asif Bacchus 2018-09-27 18:54:08 -06:00
  • d9d9e58764 Cleaned up markdown coding Asif Bacchus 2018-09-27 17:42:43 -06:00
  • 74fab6429a Updated readme to mention separate logwatch readme file. Asif Bacchus 2018-09-27 17:36:52 -06:00
  • 97c7105cb9 Corrected [INFO] tagging to have '--' prepended for consistency Asif Bacchus 2018-09-27 17:02:49 -06:00
  • 7f4de4f0f3 Changed REGEXs to look for updated tags in log file Asif Bacchus 2018-09-27 17:00:48 -06:00
  • f0bc037416 Updated comments Asif Bacchus 2018-09-27 16:57:41 -06:00
  • 3b92b2c509 Added all other detail levels Asif Bacchus 2018-09-27 16:53:23 -06:00
  • 462d081b14 Rewrite logwatch script: changed to PERL instead of BASH. Initial code, summary only. Asif Bacchus 2018-09-27 16:40:53 -06:00
  • 47acc2684c Updated Logwatch 'SearchDate' custom script. Renamed it. Updated notes in LogFile config. Asif Bacchus 2018-09-26 22:54:14 -06:00
  • 9ba6b40904 Corrected path sample in Logfile group configuration. Asif Bacchus 2018-09-26 02:05:25 -06:00
  • 9aafb7b023 Updated Logfile group configuration. Include archive and time-format. Asif Bacchus 2018-09-26 02:04:00 -06:00
  • 657bc1e3ee Created date filter for parsing timestamps in logs Asif Bacchus 2018-09-26 01:53:16 -06:00
  • 2b9580382f Cleaned up spacing in comments in cfddns Logwatch script Asif Bacchus 2018-09-26 01:16:20 -06:00
  • 87d3215c70 Initial: Script file Logwatch executes to parse cfddns.log Asif Bacchus 2018-09-26 01:11:29 -06:00
  • 662879e8a0 Created Logwatch service and logfile location config files Asif Bacchus 2018-09-26 00:40:25 -06:00
  • 3fd8a66257 Cleaned up code to remove unused variables and quote where needed Asif Bacchus 2018-09-26 00:35:33 -06:00
  • 07820587d8 Changed colour used for STATUS update. Fixed typo in "Script Completed" notation. Asif Bacchus 2018-09-25 18:43:35 -06:00
  • b49be41577 Fixed spacing typo Asif Bacchus 2018-09-25 18:41:40 -06:00
  • c7618c7a4b Changed logfile notation for IP4 vs IP6 hostname list Asif Bacchus 2018-09-25 18:39:23 -06:00
  • f8a23992ea Fixed timestamp variable Asif Bacchus 2018-09-25 18:38:48 -06:00
  • 523c9984a6 Added INFO log tags to hostname lookup list Asif Bacchus 2018-09-25 18:36:40 -06:00
  • a09dac147a Updated help text Asif Bacchus 2018-09-25 18:24:06 -06:00
  • 8a0362a6e1 Updated logging with colour variables and logging tags Asif Bacchus 2018-09-25 18:17:30 -06:00
  • 92519055fc Reformatted quit function log output Asif Bacchus 2018-09-25 18:01:29 -06:00
  • 3585490f80 Added formatting variables Asif Bacchus 2018-09-25 17:55:58 -06:00
  • 356dfc7f21 Removed [SUCCESS] tag from scipt completion notation Asif Bacchus 2018-09-25 17:49:12 -06:00
  • 1e8ff53075 Replaced repeated timestamp with single variable Asif Bacchus 2018-09-25 17:47:30 -06:00
  • 12c0cdde93 quoted logFile variable to prevent globbing Asif Bacchus 2018-09-25 17:24:14 -06:00
  • 8c24c6e625 Updated readme to remove auto-generated links in text Asif Bacchus 2018-09-16 22:03:30 -06:00
  • e3c0de600c Added auto-generated TOC Asif Bacchus 2018-09-16 07:41:04 -06:00
  • 551bd8a041 Fixed line-wrapping error Asif Bacchus 2018-09-16 07:29:24 -06:00
  • f41d16646e Updated readme to conform with markdown standards and fixed typos. Asif Bacchus 2018-09-16 07:27:32 -06:00
  • 0ef29d2ba6 Updated cfddns.service to include a separate command for IP6 updates. Asif Bacchus 2018-09-16 06:00:54 -06:00
  • ed7182b665 Updated readme with overview of the script and systemd files. Asif Bacchus 2018-09-16 03:58:05 -06:00
  • c5b53a1c50 Created systemd timer Asif Bacchus 2018-09-16 02:05:19 -06:00
  • 23435902b1 Updated syntax: capitalization Asif Bacchus 2018-09-16 01:56:17 -06:00
  • 22b0a7a154 Created systemd service file Asif Bacchus 2018-09-16 01:50:58 -06:00
  • 841fbf2bc3 Updated logfile name generation to strip final extension from scriptName Asif Bacchus 2018-09-16 01:45:18 -06:00
  • e2b7b5976d Bugfix: IP address now logged in all circumstances. Asif Bacchus 2018-09-14 00:21:42 -06:00
  • 90e50bf74b piped output from curl check to null Asif Bacchus 2018-09-14 00:06:02 -06:00
  • 24ade5322f Check if curl installed Asif Bacchus 2018-09-14 00:01:30 -06:00
  • 828dea9aee Updated colour output in logfile. Asif Bacchus 2018-09-13 23:52:32 -06:00
  • 8d7328c0d9 Removed verbose logging Asif Bacchus 2018-09-13 23:45:17 -06:00
  • 9e10e4ddd2 Updated output colours Asif Bacchus 2018-09-13 23:31:58 -06:00
  • 5a91819f3b Cleaned up updated section to compact code. Report update necessity in all logs. Asif Bacchus 2018-09-13 23:27:18 -06:00
  • b366996b85 Added timestamp to all logging entries Asif Bacchus 2018-09-13 21:58:56 -06:00
  • 9eeaa1af31 Updated help and default logfile name Asif Bacchus 2018-09-13 21:42:14 -06:00
  • c7223c32b3 Add logFile output to all sections Asif Bacchus 2018-09-13 21:38:09 -06:00
  • ea979c5c93 IP: removed redundant mode notification. Logged IP being used. Asif Bacchus 2018-09-13 21:26:24 -06:00
  • d9d5f71b5a Log script start and mode Asif Bacchus 2018-09-13 21:25:12 -06:00
  • 26042b952e Removed 'quiet' logging. It's the default and writes directly to the logFile Asif Bacchus 2018-09-13 21:22:02 -06:00
  • e24f578b8f Added log verbosity options Asif Bacchus 2018-09-13 21:15:31 -06:00
  • 4d28f068f0 Reordered IP address section. Always display IP being used whether provided or detected. Asif Bacchus 2018-09-13 21:02:31 -06:00
  • d9804ee8ec Removed redundant error messages on scriptHelp invocation. Asif Bacchus 2018-09-13 20:59:41 -06:00
  • 37d51c50e7 Added update failure notification Asif Bacchus 2018-09-13 20:54:08 -06:00
  • 532f2abd1e Check and update IP if necessary. Asif Bacchus 2018-09-12 16:53:36 -06:00
  • 346ea58472 Get current IP and record ID at CloudFlare for specified DNS records Asif Bacchus 2018-09-12 08:45:33 -06:00
  • b5de6d9676 Added CloudFlare record check for AAAA records. Fixed array trimming after non-existant records found. Asif Bacchus 2018-09-12 06:20:06 -06:00
  • 136b8872b7 Split help and examples, added parameters for both. Updated script to use new quit function. Created array with error codes. Asif Bacchus 2018-09-12 06:07:55 -06:00
  • 41a66ad2e1 Removed echo testing section. CloudFlare lookup section removes non-existant domains from arrays. Asif Bacchus 2018-09-12 05:18:54 -06:00
  • aa10ba23e1 Changed echo section to display CloudFlare results based on array index. Asif Bacchus 2018-09-12 04:39:37 -06:00
  • b435a3d6e3 Fixed array processing for record lookup. Updated testing echo section. Asif Bacchus 2018-09-12 04:17:48 -06:00
  • 5ca04a5ecd Check CloudFlare to see if records exist. Asif Bacchus 2018-09-12 03:19:10 -06:00
  • d403b124f1 Rewrote scriptHelp instructions Asif Bacchus 2018-09-12 03:00:43 -06:00
  • 0a22c80ab6 Added IP protocol type selection. EITHER IP4 OR IP6. Asif Bacchus 2018-09-12 02:11:47 -06:00
  • 7bfdaabbd0 Added IP parameter and detection if parameter not used Asif Bacchus 2018-09-12 01:15:39 -06:00
  • 4d7591f245 Extract cloudflare details from file Asif Bacchus 2018-09-12 00:48:58 -06:00
  • eeda084d67 Added check for empty or non-existant account details file Asif Bacchus 2018-09-12 00:16:26 -06:00
  • 91d1f71624 Check parameters for empty or '-' contents Asif Bacchus 2018-09-12 00:08:06 -06:00
  • b516d7889e Setup initial skeleton for script with parameters Asif Bacchus 2018-09-11 23:32:42 -06:00
  • c0e2ac3fd2 Initial commit Asif Bacchus 2018-09-11 22:21:00 -06:00