Re: [PATCH] gemini: Add hdparm setting

2021-07-15 Thread Andrey Jr. Melnikov
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

RE: [PATCH] gemini: Add hdparm setting

2021-07-04 Thread Adrian Schmutzler
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

[PATCH] gemini: Add hdparm setting

2021-07-04 Thread Linus Walleij
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