Daniel,
Thanks for the quick reply. The Debian image TS provides for the
quickboot SD card is version 3.1 "sarge". By default, there is no
rc.local in /etc/init.d nor in /etc.
After digging around some about the /etc/init.d scripts, I found the
manpage for update-rc.d.
I copied the sample skeleton script to lincan.sh then modified it to
start up the lincan-ts-11.o module. I then used
# update-rc.d lincan.sh defaults
to get my script hooked into the init process. That seems to work.
Again, thanks for the pointer.
Ben
--- In "danjperron" <> wrote:
>
> oops,
>
> just check the current /etc/init.d/rc.local to see if it has any
> reference to /etc/rc.local. If yes put your stuff in /etc/rc.local.
>
>
> ex: vi /etc/rc.local
>
> #! /bin/sh
> /sbin/insmod /usr/lincan/modules/lincan-ts11.o hw-tscan1
baudrate=500
>
>
> Daniel
>
>
>
>
> --- In "danjperron" <djperron@> wrote:
> >
> > just add your command into rc.local
> >
> >
> > For a debian system it will be
> > /etc/init.d/rc.local
> >
> > or in TS linux it will be
> > /etc/rc.d/rc.local
> >
> >
> > just add your command into /etc/init.d/rc.local
> >
> > Daniel
> >
> >
> >
> > --- In "bwa4992" <bwa4992@> wrote:
> > >
> > > I have a TS-7260 board with a TS-CAN1 daughterboard on the
PC-104 bus.
> > > I am running the full Debian system (2.4.26-ts-11) from an SD
card in
> > > the TS-7260.
> > >
> > > I can successfully load the lincan driver from the console prompt
> with:
> > >
> > > # cd /usr/lincan/modules
> > > # insmod lincan-ts11.o hw-tscan1 baudrate=500
> > >
> > > But I would like to have the system load the driver at boot
time, and
> > > I haven't found a way to make this happen.
> > >
> > > I've tried a couple of methods including modifying the /etc/modules
> > > file directly, and using modconf to set up the driver at boot time,
> > > but nothing has worked so far.
> > >
> > > Has anyone been able to get the lincan driver to load at boot time?
> > > What steps did you take?
> > >
> > > Thanks,
> > >
> > > Ben
> > >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|