Re: Mount USB disk at startup?

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



On 2/4/2010 7:10 AM, Mogens Kjaer wrote:
> On 02/04/2010 02:41 PM, Eero Volotinen wrote:
> ...
>> how about mounting that drive on rc.local ?
>
> That's too late; I need it before /etc/init.d/mythbackend
> starts.

# ls /etc/rc`runlevel | cut -c3`.d/*myth*

Then write a script in /etc/init.d to wait for the USB drive to appear, 
and link it to an "S" value one less than used by mythbackend for your 
runlevel.  That is, if you find mythbackend is S42mythbackend in your 
normal starting runlevel, you link /etc/init.d/mydrivewaiter to 
S41mydrivewaiter.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux