Commit Graph
17 Commits
Author SHA1 Message Date
9cco ff6a8df63c Fixed problem with dig not always giving correct output 2022-02-19 12:35:53 +01:00
9cco e8873cc328 Added dig as possible ip resolver
Used shell built-in command -v to determine if dig is installed and if
it is, use it as default for getting the ip-address. Also made the use
of brackets consistent and updated the the way the data variable is
created before it is sent with curl to make it more readable in the
code.
2022-02-13 17:11:22 +01:00
Clément Nussbaumer d13ba926f3 fix: make slack integration optional when uri not specified 2021-11-06 10:41:41 +01:00
Northport IOandGitHub 6ae5bd5c44 Added Slack Integration 2021-10-25 16:43:20 -04:00
Sailboat265 7f1e80e000 Update cloudflare-template.sh 2021-10-21 01:38:10 +08:00
Jason KandGitHub ca4d5fd535 Update cloudflare-template.sh 2021-08-21 14:42:18 +08:00
Clément Nussbaumer ea68158b97 replace PCRE regexp with standard regexp
Permits to run the script on simpler/lighter Linux distributions,
e.g. OpenWRT, where the grep utility available does not permit to use
Perl extended regexp (the `grep -P` option)
2021-08-12 14:26:15 +02:00
Nicholas Drone 6f67197f4f Updates error logging to stderr 2021-07-21 09:51:41 -04:00
Nicholas Drone 662985dc3b Updates Logging
Instead of creating a log file. This change leverages the syslog. This allows us to not have to manually rotate logs, or worry about the log file filling up the file system. This also give us timestamps of the logging without having to create the timestamps ourselves. Messages are logged to /var/log/messages by default.
2021-07-19 16:26:13 -04:00
JPandGitHub 220ccd1820 Fix Merge Issue 2021-07-19 14:52:27 -04:00
Jason KandGitHub cf243aa00b Merge branch 'main' into main 2021-07-19 20:57:52 +08:00
JPandGitHub 3c2d8933cf Fixed Typo 2021-07-19 08:18:24 -04:00
Mike LapeandGitHub 5debdd0e56 Changed whitespace in function definition 2021-07-19 07:13:53 -04:00
JPandGitHub 6e15f4f85f Update cloudflare-template.sh 2021-07-19 00:59:22 -04:00
JPandGitHub 7b24096857 Added token option
Added ability to use either Cloudflare Global API Key or Scoped API Key
2021-07-19 00:58:07 -04:00
Mike LapeandGitHub 3a8a6dc7e9 Adding date time function for logs 2021-07-18 20:49:53 -04:00
Jason KohandGitHub 531637c0ac Add files via upload 2020-11-09 20:54:09 +08:00