Skip to content

Commit a5206e7

Browse files
committed
Fix the issue where cpufreq is not taking effect
1 parent 4491da3 commit a5206e7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

luci-app-amlogic/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
include $(TOPDIR)/rules.mk
1717

1818
PKG_NAME:=luci-app-amlogic
19-
PKG_VERSION:=3.1.255
19+
PKG_VERSION:=3.1.256
2020
PKG_RELEASE:=1
2121

2222
PKG_LICENSE:=GPL-2.0 License

luci-app-amlogic/luasrc/model/cbi/amlogic/amlogic_armcpu.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,9 @@ for tt, policy_name in ipairs(policy_array) do
9090

9191
end
9292

93+
-- Apply the settings to the system
94+
function mp.on_after_commit(self)
95+
luci.sys.exec("(sleep 2 && /etc/init.d/amlogic start) >/dev/null 2>&1 &")
96+
end
97+
9398
return mp

0 commit comments

Comments
 (0)