Skip to content
Snippets Groups Projects
Commit 46c1b596 authored by Karsten Böddeker's avatar Karsten Böddeker
Browse files

ffho-luci-autoupdater-wifi-fallback: new package

Luci module for gluon-autoupdater and ffho-autoupdater-wifi-fallback, based on
gluon-luci-autoupdater.
parent 3b91595e
No related branches found
No related tags found
No related merge requests found
include $(TOPDIR)/rules.mk
PKG_NAME:=ffho-luci-autoupdater-wifi-fallback
PKG_VERSION:=1
PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(GLUONDIR)/include/package.mk
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
define Package/ffho-luci-autoupdater-wifi-fallback
SECTION:=ffho
CATEGORY:=FFHO
TITLE:=Luci module for gluon-autoupdater and ffho-autoupdater-wifi-fallback
DEPENDS:=+gluon-luci-admin +gluon-autoupdater +ffho-autoupdater-wifi-fallback
PROVIDES:=gluon-luci-autoupdater
MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
$(call GluonBuildI18N,ffho-luci-autoupdater-wifi-fallback,i18n)
endef
define Package/gluon-luci-autoupdater/install
$(CP) ./files/* $(1)/
$(call GluonInstallI18N,ffho-luci-autoupdater-wifi-fallback,$(1))
endef
$(eval $(call BuildPackage,ffho-luci-autoupdater-wifi-fallback))
ffho-luci-autoupdater-wifi-fallback
===================================
Luci module for ``gluon-autoupdater`` and ``ffho-autoupdater-wifi-fallback``,
based on ``gluon-luci-autoupdater``.
--[[
LuCI - Lua Configuration Interface
Copyright 2013 Nils Schneider <nils@nilsschneider.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
module("luci.controller.admin.autoupdater", package.seeall)
function index()
entry({"admin", "autoupdater"}, cbi("admin/autoupdater"), _("Automatic updates"), 80)
end
--[[
LuCI - Lua Configuration Interface
Copyright 2013 Nils Schneider <nils@nilsschneider.net>
Copyright 2016 Karsten Böddeker <freifunk@kb-light.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
m = Map("autoupdater", translate("Automatic updates"))
s = m:section(TypedSection, "autoupdater", nil)
s.addremove = false
s.anonymous = true
s:option(Flag, "enabled", translate("Enable"))
f = s:option(ListValue, "branch", translate("Branch"))
uci.cursor():foreach("autoupdater", "branch", function (section) f:value(section[".name"]) end)
m2 = Map("autoupdater-wifi-fallback", translate("Wifi fallback updates"))
s2 = m2:section(TypedSection, "autoupdater-wifi-fallback", nil)
s2.addremove = false
s2.anonymous = true
s2:option(Flag, "enabled", translate("Enable"))
local c = Compound(m, m2)
c.pageaction = false
c.template = "admin/expertmode"
return c
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2016-04-16 01:26+0200\n"
"Last-Translator: <freifunk@kb-light.de>\n"
"Language-Team: German\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "Automatic updates"
msgstr "Automatische Updates"
msgid "Branch"
msgstr "Branch"
msgid "Wifi fallback updates"
msgstr "Wifi-Fallback Updates"
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
msgid "Automatic updates"
msgstr ""
msgid "Branch"
msgstr ""
msgid "Wifi fallback updates"
msgstr ""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment