Linus Walleij wrote:
> This uses "hdparm" (if present) to get the harddisk into low
> power mode on NAS set-ups.
Use hotplug events for this.
i.e. /etc/hotplug.d/block/10-spindown with contents:
if [ "$ACTION" = "add" -a "$DEVTYPE" = "disk" ]; then
case "$DEVNAME" in
sd
Hi,
> -Original Message-
> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org]
> On Behalf Of Linus Walleij
> Sent: Montag, 5. Juli 2021 00:01
> To: Sebastian Luft ; Hans Ulli Kroll
> ; Hauke Mehrtens ;
> Christian Lamparter
> Cc: Florian Fainelli ; openwrt-devel@lists.op