diff --git a/Makefile b/Makefile index 6e3faa8..74a906a 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=0.4-2 +PKG_VERSION:=0.4-3 LUCI_TITLE:=Information about connected disk devices (partitions, filesystems, SMART). LUCI_DEPENDS:=+fdisk +smartmontools +smartmontools-drivedb LUCI_PKGARCH:=all diff --git a/README.md b/README.md index 23849ec..b409039 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,16 @@ Dependences: fdisk, smartmontools, smartmontools-drivedb. **OpenWrt >= 21.02:** opkg update - wget --no-check-certificate -O /tmp/luci-app-disks-info_0.4-2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-disks-info_0.4-2_all.ipk - opkg install /tmp/luci-app-disks-info_0.4-2_all.ipk - rm /tmp/luci-app-disks-info_0.4-2_all.ipk + wget --no-check-certificate -O /tmp/luci-app-disks-info_0.4-3_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-disks-info_0.4-3_all.ipk + opkg install /tmp/luci-app-disks-info_0.4-3_all.ipk + rm /tmp/luci-app-disks-info_0.4-3_all.ipk /etc/init.d/rpcd restart i18n-ru: - wget --no-check-certificate -O /tmp/luci-i18n-disks-info-ru_0.4-2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-disks-info-ru_0.4-2_all.ipk - opkg install /tmp/luci-i18n-disks-info-ru_0.4-2_all.ipk - rm /tmp/luci-i18n-disks-info-ru_0.4-2_all.ipk + wget --no-check-certificate -O /tmp/luci-i18n-disks-info-ru_0.4-3_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-disks-info-ru_0.4-3_all.ipk + opkg install /tmp/luci-i18n-disks-info-ru_0.4-3_all.ipk + rm /tmp/luci-i18n-disks-info-ru_0.4-3_all.ipk **OpenWrt 19.07:** diff --git a/htdocs/luci-static/resources/view/disks-info.js b/htdocs/luci-static/resources/view/disks-info.js index df121df..7d08fe5 100644 --- a/htdocs/luci-static/resources/view/disks-info.js +++ b/htdocs/luci-static/resources/view/disks-info.js @@ -564,7 +564,7 @@ return view.extend({ 'value' : 1, 'placeholder' : '1-1440', }); - ui.addValidator(loggingIntervalValue, 'range(1,1440)', false) + ui.addValidator(loggingIntervalValue, 'range(1,1440)', false); return E([ E('div', { 'class': 'cbi-value' }, [ diff --git a/root/usr/share/luci/menu.d/luci-app-disks-info.json b/root/usr/share/luci/menu.d/luci-app-disks-info.json index 53be883..1aa4629 100644 --- a/root/usr/share/luci/menu.d/luci-app-disks-info.json +++ b/root/usr/share/luci/menu.d/luci-app-disks-info.json @@ -1,7 +1,7 @@ { - "admin/services/disks-info": { + "admin/status/disks-info": { "title": "Disk Devices", - "order": 10, + "order": 90, "action": { "type": "view", "path": "disks-info"