HDPARM, autostart.sh, more then (2) external drives
#1
i cant find the answer to my noob question,

I use the following in my autostart.sh to put SDA1 drive to sleep:
#!/bin/sh
(sleep 60;
hdparm -S 60 /dev/sda1
)&

which works, but how do i code a second drive? SDB2?

I have tried different variations of the code, i'm successful in getting SDB2 to sleep, but SDA1 gets skipped and keeps running, for example
#!/bin/sh
(sleep 60;
hdparm -S 60 /dev/sda1;
hdparm -S 60 /dev/sdb2;
)&

its got to be something small, i just can't figure it out. Any suggestions would be apreciated
Reply
#2
None of this has anything to do with Kodi.  You should be addressing this with the developer of the OS you are using.
Reply
#3
(2019-07-06, 17:45)ActionA Wrote: None of this has anything to do with Kodi.  You should be addressing this with the developer of the OS you are using.

ok, i thought i had posted in the correct area with it being Kodi\libeelec, let me see if i can delete this posting and check with OS
Reply
#4
You can't, but I can. So I'll move it to off-topic.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
HDPARM, autostart.sh, more then (2) external drives0