Compare commits

...

1 Commits

Author SHA1 Message Date
nevadita.chatterjee
a0a6eee222 map-topology: 2.5.1.2 2022-07-22 13:15:41 +00:00
3 changed files with 5 additions and 3 deletions

View File

@@ -6,11 +6,11 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=map-topology
PKG_VERSION:=2.5.1.1
PKG_VERSION:=2.5.1.2
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_VERSION:=58a75b5847ef807063b62cadef7048ecbdb44288
PKG_SOURCE_VERSION:=8f237c9da2d05144ed1b836a3122fb494c106c49
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/map-topology.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz

View File

@@ -2,3 +2,4 @@
config global 'global'
option ageing_timer '1440'
option reboot_persistent '0'
option ifname 'br-lan'

View File

@@ -24,7 +24,8 @@ validate_topology_config() {
validate_global_section() {
uci_validate_section hosts global "global" \
'ageing_timer:uinteger' \
'reboot_persistent:bool'
'reboot_persistent:bool' \
'ifname:string'
[ "$?" -ne 0 ] && {
logger -s -t "hosts" "Validation of global section failed"