|
|
0c22ff92e6
|
missed end of else bracket
|
2021-12-04 16:39:22 -05:00 |
|
|
|
a9de0535ab
|
moved the logic around to only sync when master node
|
2021-12-04 16:32:44 -05:00 |
|
|
|
3ae1d9f4a6
|
change interface and ip back to example
|
2021-12-04 15:40:08 -05:00 |
|
|
|
f5bdef057c
|
add code to sync the backup
|
2021-12-04 15:38:02 -05:00 |
|
|
|
f5236dd5ca
|
fixed typos, added functions for NAT naming
|
2021-12-04 14:43:33 -05:00 |
|
|
|
2797079ecf
|
added logging for CARP interface update
|
2021-12-04 14:29:51 -05:00 |
|
|
|
56310f654b
|
logging and added friendly info for NAT loop updates
|
2021-12-04 14:26:40 -05:00 |
|
|
|
7e4d2c0967
|
removed unneeded code and added logic to only run on master CARP node and only sync on master ha node
|
2021-12-04 13:51:42 -05:00 |
|
|
|
b397b52a1e
|
minor changes to logging and comments
|
2021-12-04 13:51:04 -05:00 |
|
|
|
f9377d153a
|
updated the echo/log function for overall easier use
|
2021-12-04 13:37:50 -05:00 |
|
|
|
c323c45c9d
|
fixed the global variable call and changed interface back to wan
|
2021-12-04 13:36:24 -05:00 |
|
|
|
befbd0429e
|
changed the way the random string for the log is used to make the function call easier overall
|
2021-12-04 13:31:40 -05:00 |
|
|
|
f94592100b
|
added end of script log message
|
2021-12-04 13:13:34 -05:00 |
|
|
|
a0c7622497
|
added logging
|
2021-12-04 13:12:25 -05:00 |
|
|
|
ec7c434ac8
|
added some more logging
|
2021-12-04 10:40:39 -05:00 |
|
|
|
2a10d1f83d
|
updated the printf to the echo/log function
|
2021-12-04 10:38:13 -05:00 |
|
|
|
20f166f9cd
|
added random string and echo/log functions
|
2021-12-03 23:06:54 -05:00 |
|
|
|
c006654fa3
|
added random string to make log file clear of running instances
|
2021-12-03 23:05:45 -05:00 |
|
|
|
a61fba5e89
|
create log file function
|
2021-12-03 22:49:45 -05:00 |
|
|
|
d51a3484aa
|
Merge branch 'master' of https://git.johnhgaunt.com/jgaunt/opnsense-carp-dhcp
|
2021-12-03 22:37:04 -05:00 |
|
|
|
e4ca9a00b2
|
removed unnecessary code
|
2021-12-03 22:36:57 -05:00 |
|
|
|
7ba0e46cf7
|
changed name and made the backup script only update when carp is in backup state
|
2021-12-03 22:36:13 -05:00 |
|
|
|
731962e7a8
|
Add 'actions_carpWANDHCP.conf'
|
2021-12-02 23:41:11 -05:00 |
|
|
|
28a8b6540b
|
removed trim from sync status shell as it was not working
|
2021-12-02 15:21:23 -05:00 |
|
|
|
761717f438
|
covnerted while always true loop to a do while loop
|
2021-12-02 15:15:46 -05:00 |
|
|
|
eb67dc2972
|
added break for getting wan dhcp details as more than a few interfaces would break it
|
2021-12-02 15:05:56 -05:00 |
|
|
|
a99b09ee7b
|
Update 'README.md'
|
2021-12-02 14:58:57 -05:00 |
|
|
|
055e5c4138
|
updated the do while loop to include the dhcp request
|
2021-12-01 20:15:56 -05:00 |
|
|
|
04b206d92a
|
added -f in readme
|
2021-12-01 18:20:43 -05:00 |
|
|
|
d01cb56e0e
|
added verbiage to make it clear that we are trying to get dhcp on wan
|
2021-12-01 18:05:17 -05:00 |
|
|
|
5038789595
|
moved logic around the end of the do while loop so I would report on things
|
2021-12-01 15:54:56 -05:00 |
|
|
|
86cdc09435
|
added --force|-f option to force script to run
|
2021-12-01 15:43:07 -05:00 |
|
|
|
8c2fcbf771
|
fixed variable
|
2021-12-01 15:37:15 -05:00 |
|
|
|
0f0247e1fb
|
added new lines in
|
2021-12-01 15:36:38 -05:00 |
|
|
|
565bfbc363
|
added outputs
|
2021-12-01 15:28:16 -05:00 |
|
|
|
36415542fd
|
started loop for getting wan DHCP
|
2021-12-01 15:23:30 -05:00 |
|
|
|
53dbcba377
|
added trim to remove white spaces
|
2021-11-30 20:08:53 -05:00 |
|
|
|
fbe3e548ff
|
explode array, specified the array value needed
|
2021-11-30 20:07:47 -05:00 |
|
|
|
4c89f8267d
|
fucking semicolons
|
2021-11-30 20:05:41 -05:00 |
|
|
|
0a66d97151
|
added words to replace variable sections
|
2021-11-30 20:03:13 -05:00 |
|
|
|
26d17877cb
|
added another sleep after the sync host is backup
|
2021-11-30 20:02:26 -05:00 |
|
|
|
f9928435ea
|
Merge branch 'master' of https://git.johnhgaunt.com/jgaunt/opnsense-carp-dhcp
|
2021-11-30 20:00:37 -05:00 |
|
|
|
6aa7f1d379
|
added logic to only backup is gateway ip is different
|
2021-11-30 20:00:33 -05:00 |
|
|
|
ae1aad3810
|
Update 'README.md'
|
2021-11-30 19:58:21 -05:00 |
|
|
|
70386222c1
|
removed args from master script and removed unused variables
|
2021-11-30 19:49:08 -05:00 |
|
|
|
8238dce8d7
|
changed to master and backup files
|
2021-11-30 19:47:40 -05:00 |
|
|
|
f75e781e8e
|
added logic to wait for backup host to come back online before trying carp sync
|
2021-11-30 18:14:31 -05:00 |
|
|
|
b730d1e1a0
|
removed comment
|
2021-11-30 18:11:58 -05:00 |
|
|
|
c2d70e605c
|
fixed logic for ping test
|
2021-11-30 18:11:28 -05:00 |
|
|
|
33c70eefa5
|
typo
|
2021-11-30 18:10:32 -05:00 |
|