1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 11:37:40 +00:00

version 1.8.2

This commit is contained in:
Jan Schneider
2018-02-11 19:07:21 +01:00
parent 74b09963e6
commit b16a814561
4 changed files with 72 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ proc process {} {
exec /sbin/reboot
return "\"reboot initiated\""
} elseif {[lindex $path 1] == "system_shutdown"} {
exec /sbin/shutdown
exec /sbin/poweroff
return "\"shutdown initiated\""
} elseif {[lindex $path 1] == "get_addon_info"} {
return [rmupdate::get_addon_info 1 1 1]