From 5d20741f5381566778f4fc18b74bbff2c880b36e Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Wed, 25 Dec 2019 22:56:19 -0500 Subject: [PATCH] Fix default name when creating new wireless networks --- package/luci/modules/luci-base/src/mkversion.sh | 2 +- .../luci-mod-network/luasrc/controller/admin/network.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/luci/modules/luci-base/src/mkversion.sh b/package/luci/modules/luci-base/src/mkversion.sh index e2d02c1c74..229bee4952 100755 --- a/package/luci/modules/luci-base/src/mkversion.sh +++ b/package/luci/modules/luci-base/src/mkversion.sh @@ -15,7 +15,7 @@ if pcall(dofile, "/etc/openwrt_release") and _G.DISTRIB_DESCRIPTION then end end else - distname = "OpenWrt" + distname = "libreCMC" distversion = "Development Snapshot" end diff --git a/package/luci/modules/luci-mod-network/luasrc/controller/admin/network.lua b/package/luci/modules/luci-mod-network/luasrc/controller/admin/network.lua index 2312dcf6e0..5f36b3fbfc 100644 --- a/package/luci/modules/luci-mod-network/luasrc/controller/admin/network.lua +++ b/package/luci/modules/luci-mod-network/luasrc/controller/admin/network.lua @@ -174,7 +174,7 @@ function wifi_add() if dev then local net = dev:add_wifinet({ mode = "ap", - ssid = "OpenWrt", + ssid = "libreCMC", encryption = "none", disabled = 1 }) -- 2.25.1