On 10/13/2006 10:57 AM, cothrige wrote:
I don't particularly like gdm and so I made the script in init.d
nonexecutable. I feel, though, this was likely the wrong way. What
is the right way to do it? The whole Debian bootscript system is
somewhat intimidating to a Slackware user, and so I am hesitant to go
in there willy-nilly.
Install the Debian Reference (debian-reference-en) and read ยงยง 2.4.2 and
2.4.3 and 8.1.4 from /usr/share/doc/Debian/reference/reference.en.txt.gz .
Also, where would I be best advised to add something to start esd, as
in '/usr/bin/esd -nobeeps'? Is there a config file which will be seen
and read during boot?
You can create a new script such as /etc/init.d/local.sh and put all of
your initialization commands in it. Then you would use update-rc.d to
tell Debian what runlevels to start and stop that script's daemons and
settings, e.g.
# cd /etc/init.d
# cat > local.sh
#!/bin/sh
/usr/bin/esd -nobeeps
^D
# # That was a Control-D. We're now out of "cat."
# update-rc.d local.sh start 2 3 4 5 . stop 0 1 6 .
Read "man update-rc.d"
Many thanks for any help,
Patrick
You're welcome.
--
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]