[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Boot parameters



In article <[🔎] 3ACB875C.70504@Garbett.org>,
Shawn Garbett  <Shawn@Garbett.org> wrote:
>I want a script to be executed once at boot time, (i.e to do 
>/sbin/hdparm setting).
>
>Where would this go? If I use a command like update-rc.d foo.sh default 
>19, then it would be executed at all init levels and at all changes of 
>init levels. Seems excessive to me.

Put it in /etc/init.d/shawn, then run

update-rc.d shawn 80 start S .

Mike.



Reply to: