mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +00:00
ucentral-schema: update to latest HEAD
a2133a8 always regenerate the default /e/c/wireless config 505e1a1 ssh: add IdleTimeout=60 Fixes: WIFI-14473 Fixes: WIFI-14470 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -2,16 +2,6 @@
|
|||||||
|
|
||||||
. /lib/functions.sh
|
. /lib/functions.sh
|
||||||
|
|
||||||
iface_del() {
|
|
||||||
uci -p /etc/config-shadow/ delete wireless.$1
|
|
||||||
}
|
|
||||||
|
|
||||||
[ "${ACTION}" = "add" ] && {
|
[ "${ACTION}" = "add" ] && {
|
||||||
/sbin/wifi config
|
/sbin/wifi config
|
||||||
[ -d /etc/config-shadow ] && {
|
|
||||||
cp /etc/config/wireless /etc/config-shadow/wireless
|
|
||||||
config_load wireless
|
|
||||||
config_foreach iface_del wifi-iface
|
|
||||||
config_foreach iface_del wifi-vlan
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ PKG_NAME:=ucentral-schema
|
|||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git
|
PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git
|
||||||
|
PKG_MIRROR_HASH:=d452d91d5df677d91e7ee3c04d8d9bfd66d5fbad58052228b27342bf55bef020
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_DATE:=2025-01-27
|
PKG_SOURCE_DATE:=2025-01-27
|
||||||
PKG_SOURCE_VERSION:=601bdd6063276e3e158a6c8438232adf298a53f0
|
PKG_SOURCE_VERSION:=a2133a8e2ab1c8e2453f8132c9b83f4599fb4a11
|
||||||
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
|
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
|
|
||||||
@@ -36,6 +37,7 @@ define Package/ucentral-schema/install
|
|||||||
$(CP) $(PKG_BUILD_DIR)/renderer/* $(1)/usr/share/ucentral
|
$(CP) $(PKG_BUILD_DIR)/renderer/* $(1)/usr/share/ucentral
|
||||||
$(CP) $(PKG_BUILD_DIR)/command/*.uc $(1)/usr/share/ucentral
|
$(CP) $(PKG_BUILD_DIR)/command/*.uc $(1)/usr/share/ucentral
|
||||||
$(CP) $(PKG_BUILD_DIR)/system/*.uc $(1)/usr/share/ucentral
|
$(CP) $(PKG_BUILD_DIR)/system/*.uc $(1)/usr/share/ucentral
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/system/wifi_detect.sh $(1)/usr/share/ucentral
|
||||||
$(CP) ./files/* $(1)
|
$(CP) ./files/* $(1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. /lib/functions.sh
|
|
||||||
|
|
||||||
iface_del() {
|
|
||||||
uci delete wireless.$1
|
|
||||||
}
|
|
||||||
|
|
||||||
config_load wireless
|
|
||||||
config_foreach iface_del wifi-iface
|
|
||||||
Reference in New Issue
Block a user