Add ordering for service start
This commit is contained in:
parent
fbb30ac6bd
commit
3e3c7afbd7
@ -3,11 +3,11 @@
|
||||
|
||||
. ../APKBUILD-openrc.template
|
||||
|
||||
pkgver=2021.06.02.01
|
||||
pkgrel=5
|
||||
pkgver=2022.05.24.01
|
||||
pkgrel=0
|
||||
depends="openrc redxen-config-$_rx_pkgname wireguard-tools-wg-quick wireguard-tools-wg"
|
||||
|
||||
sha512sums="
|
||||
5aba6ddd0de7c8dab7798d01f527e511f4e3d84e527ff42aac431107060f185621cd5da30edaa8800e9c0bef9a1e2e8fa7b6eb38b0cb05d076924fe4dafecb28 runfile
|
||||
de2fc0097d9760ede58ac2d70dad424e3c54778fb37d070e5b469ccfb4e516f5ce218c525845bb95406835ba6f9f34791f25954b5a2d8acc3e35624d90b509c6 runfile
|
||||
3387d36554438e6af45608825bee0cccb1d48593f3cf128d5eca7158dec08f744b407a95048bb35de411d1e7a53801f139a86930a2c14a02f5a14af2e444c709 conffile
|
||||
"
|
||||
|
@ -4,6 +4,10 @@ description="Control wg-quick connections"
|
||||
|
||||
: ${WIREGUARD_INTERFACE:=wg0}
|
||||
|
||||
depend() {
|
||||
after firewall
|
||||
}
|
||||
|
||||
check_interface() {
|
||||
if [ -d /sys/class/net/"$WIREGUARD_INTERFACE" ]; then
|
||||
mark_service_started
|
||||
|
Loading…
Reference in New Issue
Block a user