gateway.d: use correct function name for apply hook

The configuregateway script calls only "apply" and not "commit".

Signed-off-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
[commit title and message facelift, bump PKG_RELEASE]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Christian Dresel 2019-12-30 12:05:56 +01:00 committed by Adrian Schmutzler
parent cbaea3ffe2
commit 08c210a309
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fff-dhcp
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-dhcp

View File

@ -12,7 +12,7 @@ configure() {
fi
}
commit() {
apply() {
uci commit dhcp
}

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fff-wireguard
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-wireguard

View File

@ -133,7 +133,7 @@ configure() {
config_foreach add_wgpeer wireguardpeer
}
commit() {
apply() {
uci commit network
uci commit babeld
uci commit gateway