main/awall: use boot runlevel for iptables

to ensure the firewall is active before the network interfaces

fixes #9660
This commit is contained in:
Kaarle Ritvanen 2026-04-02 18:25:55 +03:00
parent a297304f28
commit 3a30e5b71d
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=awall
pkgver=1.14.0
pkgrel=0
pkgrel=1
pkgdesc="Alpine Wall"
url="https://gitlab.alpinelinux.org/alpine/awall"
_luaver=5.4
@ -52,6 +52,6 @@ policies() {
sha512sums="
5e183dffc6022291c91543e26418b9d8496a0a82a637c048e3229a0962290ee2e408448ea6595ab1acef56cc81c0e1e38729b7799e127d13d14c1b8d1f36271c awall-v1.14.0.tar.bz2
e83ea3281c298092530e45fa5b62f6f85b9e5109b11e109799465ea832608294c7d9c4c3f5b0f321dfc0e82040daf3a17d066e9dea65cb0dbae2c453ea9e62cd awall-init
14001e9bd5f0b6f0bea352ba16f8fed3989786d5b19ee5edf37dfb2a2a8b182a995e85299d65845ad2c2c8369096314af9adca82cb62d1787764b0d998b4e766 awall-init
b4083809b71c4b825f50db586674f696ab71f5e478ed85745ae11376bcc7d3d626e089c9894d6d6f10bf8c38bd930b26d7903dcb906780cbad8561ffd372875f setup-firewall
"

View File

@ -1,7 +1,7 @@
#!/bin/sh -e
# Service setup script for Alpine Wall on Alpine Linux
# Copyright (C) 2018-2019 Kaarle Ritvanen
# Copyright (C) 2018-2026 Kaarle Ritvanen
SRV=$1
@ -14,5 +14,5 @@ if [ "$FORWARD" != no ]; then
set_param IPFORWARD yes
fi
rc-update add $SRV
rc-update add $SRV boot
service $SRV start