diff --git a/luci-app-secubox/Makefile b/luci-app-secubox/Makefile index 36d5ef7d..b08a15e8 100644 --- a/luci-app-secubox/Makefile +++ b/luci-app-secubox/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-secubox -PKG_VERSION:=0.0.5-beta +PKG_VERSION:=0.1.0 PKG_RELEASE:=1 PKG_LICENSE:=Apache-2.0 PKG_MAINTAINER:=CyberMind diff --git a/luci-app-secubox/root/usr/libexec/rpcd/luci.secubox b/luci-app-secubox/root/usr/libexec/rpcd/luci.secubox index eec38cb0..991a043a 100755 --- a/luci-app-secubox/root/usr/libexec/rpcd/luci.secubox +++ b/luci-app-secubox/root/usr/libexec/rpcd/luci.secubox @@ -86,9 +86,9 @@ get_status() { local running=0 json_init - json_add_string "version" "0.0.1-beta" + json_add_string "version" "0.1.0" json_add_string "hostname" "$(uci -q get system.@system[0].hostname || echo 'SecuBox')" - + # System info local uptime=$(cat /proc/uptime | cut -d. -f1) local load=$(cat /proc/loadavg | cut -d' ' -f1-3) @@ -590,7 +590,7 @@ get_dashboard_data() { local mem_pct=$((mem_used * 100 / mem_total)) json_add_object "status" - json_add_string "version" "0.0.1-beta" + json_add_string "version" "0.1.0" json_add_string "hostname" "$(uci -q get system.@system[0].hostname || echo 'SecuBox')" json_add_int "uptime" "$uptime" json_add_string "load" "$load"