network: Write keepalived interface status to file

This commit is contained in:
Timo Makinen 2025-04-05 18:48:16 +00:00
parent d6cc79dcb3
commit 043104f062
4 changed files with 60 additions and 1 deletions

View file

@ -0,0 +1,7 @@
#!/bin/sh
set -eu
umask 022
echo "$3" > "/run/keepalived/${2}.state"