Skip to content
Snippets Groups Projects
Commit 0bc1ee54 authored by rubo77's avatar rubo77
Browse files

adaption for master (lede)

parent be7f05b2
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ PKG_RELEASE:=$(GLUON_BRANCH) ...@@ -6,7 +6,7 @@ PKG_RELEASE:=$(GLUON_BRANCH)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(GLUONDIR)/include/package.mk include ../gluon.mk
define Package/gluon-ssid-changer define Package/gluon-ssid-changer
SECTION:=gluon SECTION:=gluon
......
...@@ -54,7 +54,7 @@ disable it with: ...@@ -54,7 +54,7 @@ disable it with:
Gluon versions Gluon versions
============== ==============
This branch of the script contains the ssid-changer version for the gluon This branch of the script contains the ssid-changer version for the gluon
2016.2.x. master branch (lede).
Implement this package in your firmware Implement this package in your firmware
======================================= =======================================
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
local site = require 'gluon.site_config' local site = require 'gluon.site_config'
local legacy_uci = require 'luci.model.uci' local uci = require('simple-uci').cursor()
local uci = legacy_uci.cursor()
-- LEDE: local uci = require('simple-uci').cursor()
if not uci:get('ssid-changer', 'settings', 'enabled') then if not uci:get('ssid-changer', 'settings', 'enabled') then
uci:section('ssid-changer', 'main', 'settings', { uci:section('ssid-changer', 'main', 'settings', {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment