[ltp] Re: Modem working, now need chkconfig

Buchan Milne linux-thinkpad@linux-thinkpad.org
Wed, 23 Oct 2002 15:55:17 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

surferjeff@excite.com wrote:
| *** List MOVED use linux-thinkpad@linux-thinkpad.org for future
postings ***
|
|
|
| Ok, thanks to help from people on this list, I'm making baby steps but
progressing steadily.  I got the modem driver working, and I even put
the mwaved driver script into /etc/rc.d/init.d.  However, I need the
chkconfig tool to configure the script to run when booting.  I found the
chkconfig man page, but I can't find the tool itself anywhere on my file
system.  Where does it live?
|

[bgmilne:/home/users/bgmilne]# which chkconfig
/sbin/chkconfig
[bgmilne:/home/users/bgmilne]# rpm -qf `which chkconfig`
chkconfig-1.3.4-11mdk
[bgmilne:/home/users/bgmilne]#


You should be able to run it as root:

# chkconfig --list <name_of_script>
# chkconfig <name_of_script> on
# chkconfig --list <name_of_script>

should do it.

- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9tqpFrJK6UGDSBKcRAgDBAKCB8K5qOaAUjqVcM3wCfvAqQcUbGACgyZOh
vfl2rbusvAHw9n2Q+nGhvBw=
=aoso
-----END PGP SIGNATURE-----