summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/qcontrol/files/ts209.lua')
-rw-r--r--sys-apps/qcontrol/files/ts209.lua41
1 files changed, 0 insertions, 41 deletions
diff --git a/sys-apps/qcontrol/files/ts209.lua b/sys-apps/qcontrol/files/ts209.lua
deleted file mode 100644
index 87df1f325b21..000000000000
--- a/sys-apps/qcontrol/files/ts209.lua
+++ /dev/null
@@ -1,41 +0,0 @@
---[[
- Debian configuration file for qcontrol (LUA syntax)
- Supports both QNAP TS-109 and TS-209.
---]]
-
-register("ts209")
-
--- Requires CONFIG_KEYBOARD_GPIO enabled in the kernel and
--- the kernel module gpio_keys to be loaded.
-register("evdev", "/dev/input/by-path/platform-gpio-keys-event-",
- 408, "restart_button",
- 133, "media_button")
-
-function power_button( time )
- os.execute("poweroff")
-end
-
-function restart_button( time )
- os.execute("reboot")
-end
-
-function media_button( time )
- piccmd("usbled", "8hz")
-end
-
---[[
- Fan and temperature control are left disabled until qcontrol
- gets a proper daemon mode.
- Empty functions are needed to avoid errors.
---]]
-function fan_error( )
-end
-
-function fan_normal( )
-end
-
-function temp_low( )
-end
-
-function temp_high( )
-end