summaryrefslogtreecommitdiff
path: root/gemfeed
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-04-03 00:06:36 +0300
committerPaul Buetow <paul@buetow.org>2024-04-03 00:06:36 +0300
commit596e6601039e9f8d343da4b04cb2ad941acc00ac (patch)
tree6fb8256cbec877627f7a4f08cb61a06cbfa35d05 /gemfeed
parent96d827b2b502df181ae547fd773d4f4306d684d1 (diff)
Update content for md
Diffstat (limited to 'gemfeed')
-rw-r--r--gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md
index 7f137793..542e4c60 100644
--- a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md
+++ b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.md
@@ -113,8 +113,8 @@ standby 300 IN AAAA 2a01:4f8:c17:20f1::42 ; Enable failover
```
```sh
-tramsform () {
- sed -E '
+transform () {
+ sed -E '
/IN A .*; Enable failover/ {
/^standby/! {
s/^(.*) 300 IN A (.*) ; (.*)/\1 300 IN A '$(cat /var/nsd/run/master_a)' ; \3/;
@@ -134,7 +134,7 @@ tramsform () {
/ ; serial/ {
s/^( +) ([0-9]+) .*; (.*)/\1 '$(date +%s)' ; \3/;
}
- '
+ '
}
```