LinHES Forums
http://forums.linhes.org/

Where is the standard place to insert command to load mtd?
http://forums.linhes.org/viewtopic.php?f=17&t=5716
Page 1 of 1

Author:  shplad [ Wed Aug 17, 2005 7:13 pm ]
Post subject:  Where is the standard place to insert command to load mtd?

Hi all:

While I seem to have worked out most of my DVD playback and RIP problems, MTD never loaded automatically for me out of the box.

Where is the best place to insert mtd so that it is loaded on bootup AND
so that it is in the right order, as compared with other loadable modules?

Thanks


shplad

Author:  cesman [ Wed Aug 17, 2005 9:42 pm ]
Post subject: 

Why not ~/.fluxbox/apps?

Author:  alewman [ Thu Aug 18, 2005 1:37 am ]
Post subject: 

Ah.. Why didn't I think of that...

Well I'll mention what I did in case it is useful, though I think on my next install I'll do it the fluxbox way.

Create /etc/init.d/local which will contain everything you want to start up when the system does. It should look something like

Code:
#! /bin/sh
/usr/bin/mtd -d


Then set it as executable and set it to run on startup.

Code:
# chmod 755 /etc/init.d/local
# update-rc.d local defaults 99


And there you go.

-Aubrey

Author:  shplad [ Thu Aug 18, 2005 9:05 pm ]
Post subject: 

cesman:

Thanks for that. Is that the usual place it's supposed to go? I'm trying to keep everything as standard as possible, if I can.


shplad


cesman wrote:
Why not ~/.fluxbox/apps?

Author:  cesman [ Thu Aug 18, 2005 9:40 pm ]
Post subject: 

I wouldn't say it is the usual place. I don't have issue w/ mtd starting, so... It is just a place. alewman's suggestion is perhaps the best Debian way....

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/