Fix shutdown action on Kobo (#5055)

Bypass init, like Nickel does.
Otherwise, some devices either deadlock or panic.
This commit is contained in:
NiLuJe
2019-06-03 18:54:45 +02:00
committed by Frans de Jonge
parent 53b6e3d018
commit efe34b6fee

View File

@@ -709,7 +709,7 @@ function Kobo:saveSettings()
end
function Kobo:powerOff()
os.execute("poweroff")
os.execute("poweroff -f")
end
function Kobo:reboot()