mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
Merge pull request #5412 from stangri/master-luci-app-advanced-reboot
luci-app-advanced-reboot: bugfix for Linksys E4200v2
This commit is contained in:
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
|
||||
PKG_VERSION:=1.0.1-2
|
||||
PKG_VERSION:=1.0.1-3
|
||||
|
||||
LUCI_TITLE:=Advanced Linksys Reboot Web UI
|
||||
LUCI_URL:=https://docs.openwrt.melmac.net/luci-app-advanced-reboot/
|
||||
|
||||
@@ -197,7 +197,7 @@ return view.extend({
|
||||
if (device_info.error)
|
||||
body.appendChild(E('p', { 'class' : 'alert-message warning'}, _("ERROR: ") + this.translateTable[device_info.error]()));
|
||||
|
||||
body.appendChild(E('h3', device_info.device_name + _(' Partitions')));
|
||||
body.appendChild(E('h3', (device_info.device_name || '') + _(' Partitions')));
|
||||
if (device_info.device_name) {
|
||||
var partitions_table = E('table', { 'class': 'table' }, [
|
||||
E('tr', { 'class': 'tr table-titles' }, [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Copyright 2017-2020 Stan Grishin (stangri@melmac.net)
|
||||
# shellcheck disable=SC2039,SC1091
|
||||
# shellcheck disable=SC2039,SC1091,SC3043,SC3057,SC3060
|
||||
|
||||
readonly devices_dir="/usr/share/advanced-reboot/devices/"
|
||||
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
{
|
||||
"vendorName": "Linksys",
|
||||
"deviceName": "E4200v2",
|
||||
"boardNames": [ "linksys-e4200v2", "linksys,e4200v2" ],
|
||||
"boardNames": [
|
||||
"linksys-e4200v2",
|
||||
"linksys,e4200-v2"
|
||||
],
|
||||
"partition1MTD": "mtd3",
|
||||
"partition2MTD": "mtd5",
|
||||
"labelOffset": 32,
|
||||
|
||||
Reference in New Issue
Block a user