Re: eject debian 3.0 inittab
William,
In /etc/inittab you probably have a line like this:
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
If you have a line that starts with "kb:" (without the #) there is already
some action assigned, which maybe you want to keep.
On my machine I changed the above line to:
kb::kbrequest:/usr/bin/eject
After changing the file run
telinit q
to activate the change. You can also reboot if you like.
Notes:
- You need to be root to make this change and run telinit.
- Use your favorite editor. If you don't have one try pico or nano.
- eject could be in a different place on your machine (unlikely though).
To find out where it is run
type eject
If you get something saying 'type: eject: not found' you'll need to
install eject. On debian that is done using
apt-get install eject
That's all I can think off. Let me know if something is not clear or if you
need more info.
Martin
On Fri, Apr 01, 2005 at 11:31:16AM +0100, William Besson wrote:
> Hi Martin,
>
> I came accross your answer on lists.debian.org. about eject on Debian
> 3.0.
> I am having the same problem. I have honestly tried everything written
> on this forum but nothing will work. I am sure your "kb:" change can be
> a good solution but I am quite new to Linux. Would you be kind enough to
> tell me exactly what I should write down in the inittab file.
>
> Thanks for your time
>
> William
Reply to: