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
Fainelli ; openwrt-devel@lists.openwrt.org;
> Linus Walleij
> Subject: [PATCH] gemini: Add hdparm setting
>
> This uses "hdparm" (if present) to get the harddisk into low power mode on
> NAS set-ups.
>
> Signed-off-by: Linus Walleij
> ---
> .../linux/gemini/ba
This uses "hdparm" (if present) to get the harddisk into low
power mode on NAS set-ups.
Signed-off-by: Linus Walleij
---
.../linux/gemini/base-files/etc/board.d/03_hdparm | 15 +++
1 file changed, 15 insertions(+)
create mode 100755 target/linux/gemini/base-files/etc/board.d/03_hdpa