From d257aa382c93dd7da4dfad9975e4afcd8efe483e Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Sun, 26 May 2024 19:33:22 +0200 Subject: [PATCH] feat: add dmesg program utils --- dmesg.lua | 3 +++ install.lua | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 dmesg.lua diff --git a/dmesg.lua b/dmesg.lua new file mode 100644 index 0000000..55f29b2 --- /dev/null +++ b/dmesg.lua @@ -0,0 +1,3 @@ +while true do + print(event.pull()) +end \ No newline at end of file diff --git a/install.lua b/install.lua index b9a881e..52f09ed 100644 --- a/install.lua +++ b/install.lua @@ -36,6 +36,10 @@ local LIST_LIBS_FILES = { 'libs/ui/CountersSelector.lua' } +local LIST_GLOBAL_FILES = { + 'dmesg.lua' +} + local LIST_GLOBAL_CONFIG_FILES = { 'startup.lua', 'upgrade.lua' @@ -104,6 +108,7 @@ local mainSetup = function() installConfig(LIST_SERVER_CONFIG_FILES) end + installFiles(LIST_GLOBAL_FILES) installConfig(LIST_GLOBAL_CONFIG_FILES) shell.setDir(previousDir)