net/keepalived: add keepalived.user script handling

Add keepalived.user script handling which are also saved during sysupgrade.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2017-11-07 11:31:18 +01:00
parent ff33ff463b
commit 738da3146c
3 changed files with 26 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
[ -f "/etc/keepalived.user" ] && {
/bin/sh /etc/keepalived.user "$@"
}
exit 0