Linus Walleij <linus.wall...@linaro.org> 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*) hdparm -S 60 /dev/$DEVNAME ;; esac fi _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel