[busybox] poweroff is not working
{"kernel":"4.14.123","hostname":"to","system":"ARMv7 Processor rev 1 (v7l)","model":"Turris Omnia","board_name":"armada-385-turris-omnia","release":{"distribution":"TurrisOS","version":"4.0-beta3","revision":"3755d71","target":"mvebu/cortexa9","description":"TurrisOS 4.0-beta3 3755d71"}}
busybox
Currently defined functions:
[, [[, ash, awk, basename, brctl, bunzip2, bzcat, cat, chgrp, chmod, chown, chroot, clear, cmp, comm, cp, cut, date, dd, df, dirname, dmesg, du, echo, egrep, eject, env, expr, false, fgrep, find, flock, free, fsync, getopt, grep, gunzip, gzip, halt, head, hexdump, hwclock, id, ifconfig, ip, kill, killall, less, ln, lock, logger, login, ls, md5sum, mkdir, mkfifo, mknod, mkswap, mktemp, mount, mv, nc, netmsg, netstat, nice, nslookup, ntpd, passwd, pgrep, pidof, ping, ping6, pivot_root, poweroff, printf, ps, pwd, readlink, reboot, reset, rm, rmdir, route, sed, seq, sh, sha256sum, sleep, sort, start-stop-daemon, strings, stty, switch_root, sync, sysctl, tail, tar, tee, test, time, timeout, top, touch, tr, traceroute, traceroute6, true, udhcpc, umount, uname, uniq, unxz, uptime, vi, watchdog, wc, which, xargs, xz, yes, zcat
According to https://www.busybox.net/BusyBox.html
poweroff
poweroff [-d DELAY] [-n] [-f]
Halt and shut off power
Options:
-d SEC Delay interval
-n Do not sync
-f Force (don't go through init)
it would be expected that the device halts and shuts off power. But it seems that it only halts but does not power off. Executing the command from cli ssh connectivity gets lost instantly, as can be expected as part of the halt process, but the device remains in an inert state with all its front leds blazing and does not actually power off.