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

Re: [Fwd: Re: rc.local is not working for automount (diskmount.sh)script]



On Thu, Sep 11, 2008 at 01:03:33AM -0500, Joseph Rawson wrote:
> On Thursday 11 September 2008 05:24:28 Padma wrote:
> > Daniel Baumann wrote:
> > > ------------------------------------------------------------------------
> > >
> > > Subject:
> > > Re: rc.local is not working for automount (diskmount.sh)script
> > > From:
> > > Chris Lamb <chris@chris-lamb.co.uk>
> > > Date:
> > > Sat, 6 Sep 2008 12:36:35 +0100
> > > To:
> > > debian-live-devel@lists.alioth.debian.org
> > >
> > > To:
> > > debian-live-devel@lists.alioth.debian.org
> > >
> > > Padma wrote:
> > >> I am using diskmount.sh script and rc.local taken from
> > >> http://wiki.debian.org/DebianLive/FAQ for automount harddrive,
> > >
> > > This script isn't really supported here, sorry. But as you don't even
> > > mention what is "not working" about it, I doubt even the original author
> > > could help either.
> > >
> > >
> > > Regards,
> > >
> > >
> > > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > debian-live-devel mailing list
> > > debian-live-devel@lists.alioth.debian.org
> > > http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel
> >
> > HI
> >
> > Sorry for inconvenience,
> >
> > It(rc.local) works as I made it executable  but didn't update the
> > symlink (update-rc.d -f rc.local defaults 80 )
> >
> > Thanx for reply
> >
> > --
> > Regards,
> > Padma Jadav
> > Magnet Technologies Pvt. Ltd.
> 
> /etc/rc.local is supposed to be the very last initscript that runs, and it's 
> not in the /etc/init.d directory that update-rc.d creates the links from.  If 
> you need a script at 80, rename it to /etc/init.d/rc-local then run 
> update-rc.d on that.  That should work.

What command did you mean exactly?

What then happens on shutdown? I would expect that the CD gets ejected.
And not that some services get re-started.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir


Reply to: