From 32a0eafb4f1a9ce58f4d73ee5366981b8514faeb Mon Sep 17 00:00:00 2001 From: h1n1 Date: Sun, 26 Jul 2026 18:13:00 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20boot-=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82?= =?UTF-8?q?=D0=B0:=20=D0=9F=D0=BE=D0=B4=D1=87=D0=B8=D1=81=D1=82=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=BF=D0=B0=D0=BF=D0=BA=D0=B8=20/tmp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- boot/10_tmp_cleanup.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 boot/10_tmp_cleanup.lua diff --git a/boot/10_tmp_cleanup.lua b/boot/10_tmp_cleanup.lua new file mode 100644 index 0000000..0457f66 --- /dev/null +++ b/boot/10_tmp_cleanup.lua @@ -0,0 +1,12 @@ +-- /tmp folder cleanup + +if fs.exists("/tmp") then + local list = fs.list("/tmp") + + for k, v in pairs(list) do + fs.delete("/tmp/" .. v) + end + +end + +