From 73e1c158f59557dc6b95a8d1e6b0d4a59bf62780 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 9 Feb 2025 19:33:10 +0100 Subject: [PATCH] confd: minor, rearrange for readability Signed-off-by: Joachim Wiberg --- package/confd/confd.conf | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/package/confd/confd.conf b/package/confd/confd.conf index dc62a60b..c8dcf4eb 100644 --- a/package/confd/confd.conf +++ b/package/confd/confd.conf @@ -17,17 +17,20 @@ run name:startup log:prio:user.notice norestart env:/etc/default/con -- Loading startup-config # Run if loading startup-config fails for some reason -run name:failure log:prio:user.critical norestart env:/etc/default/confd if: \ - [S] /usr/libexec/confd/load -t $CONFD_TIMEOUT failure-config \ +run name:failure log:prio:user.critical norestart env:/etc/default/confd \ + if: \ + [S] /usr/libexec/confd/load -t $CONFD_TIMEOUT failure-config \ -- Loading failure-config -run name:error :2 log:console norestart if: \ +run name:error :2 log:console norestart \ + if: \ [S] /usr/libexec/confd/error -- -service name:netopeer notify:none log env:/etc/default/confd \ - [12345] netopeer2-server -F -t $CONFD_TIMEOUT -v 1 \ +service name:netopeer notify:none log env:/etc/default/confd \ + [12345] netopeer2-server -F -t $CONFD_TIMEOUT -v 1 \ -- NETCONF server # Create initial /etc/resolv.conf after successful bootstrap -task name:resolv :conf norestart if: \ - [S] resolvconf -u -- Update DNS configuration +task name:resolv :conf norestart \ + if: \ + [S] resolvconf -u -- Update DNS configuration