Hd-idle: Setup for multiple hdd

Hi,
do you know how setup multiple disks (sda, sdb, …)? When I’m using Luci, my config file has defined only last one configured disk.
thx
R.

I’m not sure about configuration via Luci, but from command line it is quite straightforward. This is my configuration (in file /etc/config/hd-idle):

config hd-idle
	option disk 'sda'
	option idle_time_unit 'minutes'
	option idle_time_interval '40'
	option enabled '1'
config hd-idle
	option disk 'sdb'
	option idle_time_unit 'minutes'
	option idle_time_interval '40'
	option enabled '1'
1 Like

I used:

config hd-idle
    option idle_time_unit 'minutes'
    option enabled '1'
    option idle_time_interval '1'