There's a typo in the configuration file for sys-apps/hdparm in files/hdparm-conf.d and hdparm-conf.d.3 The line that reads "# disc1_args"-d1"" should be: "# disc1_args="-d1"". It is missing an = sign between disc1_args and "-d1". Reproducible: Always Steps to Reproduce: 1. edit /etc/conf.d/hdparm 2. comment default all_args="-d1" 3. uncomment disc1_args"-d1" 4. # /etc/init.d/hdparm restart Actual Results: flynn root # /etc/init.d/hdparm restart /sbin/runscript.sh: line 9: disc1_args-d1: command not found * WARNING: you are stopping a boot service. * Starting hdparm... [ ok ] Expected Results: flynn root # /etc/init.d/hdparm restart * WARNING: you are stopping a boot service. * Starting hdparm... [ ok ] * Running hdparm on /dev/discs/disc1/disc...
Could someone please close this, as the files have already been fixed: aross@aross-laptop files $ grep all_args hdparm-conf.d* hdparm-conf.d:# Or, you can set hdparm options for ALL drives using all_args.. hdparm-conf.d:all_args="-d1" hdparm-conf.d.3:# or, you can set hdparm options for ALL drives using all_args, e.g. hdparm-conf.d.3:all_args="-d1"
Sorry, my bad (misread the problem). If only we could delete comments... *sheepish grin*
Created attachment 38930 [details, diff] Simple patch to fix typo.
Created attachment 38933 [details, diff] Fixed patch, no colors (I was tired)
Commited to CVS. Thanks for reporting!