mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-05 09:54:11 +08:00
update 2026-08-19 00:23:56
This commit is contained in:
1 parent
4a848652cb
commit
0b11371472
3800 files changed
+15
-2271941
No files matched your search
@@ -1,9 +0,0 @@
|
||||
module("luci.controller.release_ram",package.seeall)
|
||||
|
||||
function index()
|
||||
entry({"admin","status","release_ram"}, call("release_ram"), _("Release Ram"), 9999)
|
||||
end
|
||||
function release_ram()
|
||||
luci.sys.call("sync && echo 3 > /proc/sys/vm/drop_caches")
|
||||
luci.http.redirect(luci.dispatcher.build_url("admin/status"))
|
||||
end
|
||||
Reference in new issue
Block a user