mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix shutdown action on Kobo (#5055)
Bypass init, like Nickel does. Otherwise, some devices either deadlock or panic.
This commit is contained in:
@@ -709,7 +709,7 @@ function Kobo:saveSettings()
|
||||
end
|
||||
|
||||
function Kobo:powerOff()
|
||||
os.execute("poweroff")
|
||||
os.execute("poweroff -f")
|
||||
end
|
||||
|
||||
function Kobo:reboot()
|
||||
|
||||
Reference in New Issue
Block a user