[ltp] Re: Modem working, now need chkconfig

Tod Harter linux-thinkpad@linux-thinkpad.org
Thu, 24 Oct 2002 13:42:54 -0400


Its in /sbin on pretty much all systems, maybe /usr/sbin on some, but I would 
note that on Red Hat if you 'su' to root without putting a dash on the 
command line:

% su

vs

%su -

you won't get /sbin and /usr/sbin in your path. You should be able to find 
most commands by using whereis, like:

whereis chkconfig

and as a last ditch method

find / -name chkconfig -print

should work on ANY Unix system, though it will be kinda slow...

On Wednesday 23 October 2002 10:08 am, Charles E Taylor IV wrote:
> *** List MOVED use linux-thinkpad@linux-thinkpad.org for future postings
> ***
>
> > 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?
>
> On Red Hat 7.3, it lives in /sbin.  Mandrake may be similar
>
> [user@tycho user]$ locate chkconfig
> /usr/share/man/man8/chkconfig.8.gz
> /sbin/chkconfig
>
> If all else fails, you can run the mwave script file from
> /etc/rc.d/rc.local ...
>
> Glad the modem works!