diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2018-12-20 16:13:39 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2018-12-20 16:13:55 +0200 |
commit | 2cac8650906b91b566e9425807af2458b9168cc3 (patch) | |
tree | 9716bd3ab55c70496ebfaf1c71786d02c77edc2c /main | |
parent | 161a9a28c4eefe83f20e60f409add2b9cee4f889 (diff) | |
download | aports-2cac8650906b91b566e9425807af2458b9168cc3.tar.bz2 aports-2cac8650906b91b566e9425807af2458b9168cc3.tar.xz |
main/awall: setup-firewall: fix forwarding
Diffstat (limited to 'main')
-rw-r--r-- | main/awall/APKBUILD | 4 | ||||
-rwxr-xr-x | main/awall/setup-firewall | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/main/awall/APKBUILD b/main/awall/APKBUILD index 0e353a4beb..0927c8fb21 100644 --- a/main/awall/APKBUILD +++ b/main/awall/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> pkgname=awall pkgver=1.6.8 -pkgrel=0 +pkgrel=1 pkgdesc="Alpine Wall" url="https://git.alpinelinux.org/cgit/awall/" _luaver=5.2 @@ -53,4 +53,4 @@ policies() { } sha512sums="83e29da48d46e69d19ab07b3979ade82fbb4923c0ac47440debd33ad2ee3e2cc652baf88dfbe033ad518c5b4cf63bf03e44a7b32637015571b2955be5575effa awall-1.6.8.tar.xz -390664296b50f39fdba4a159570473c4e90fc6932a207cf9ce9a476bbbe19db8ee4d862b864d0d3dd6e8a5a4e2df78b950567919fb18c8437ce25f9fb72b0883 setup-firewall" +c9307fe9d8d7cb64e20c3eb301628b6b57e3ccfa104bbe0f08204b4ee49214dcd67b81124094e35ff19603e19363b864140658f3b5138bb02dcff1670a068bd4 setup-firewall" diff --git a/main/awall/setup-firewall b/main/awall/setup-firewall index 79333018ca..720977d8a6 100755 --- a/main/awall/setup-firewall +++ b/main/awall/setup-firewall @@ -14,7 +14,7 @@ info() { } is_running() { - busybox pgrep -x /usr/sbin/$1 > /dev/null + busybox pgrep -x $1 > /dev/null } enable_policy() { @@ -128,7 +128,7 @@ enable_service() { set_param $1 SAVE_ON_STOP no if [ "$LAN_IFACES" ]; then - set_param IPFORWARD yes + set_param $1 IPFORWARD yes fi rc-update add $1 |