Re: Where is "/etc/rc.d/rc.local" on Debian?
On Sat, 27 Mar 1999, Christian Dysthe wrote:
> Hi again,
> guess what I need to know is how do you start programs at boot on a Debian
> system. I have tried to put my "soundon* script from OSS in rc.boot and I
> get an error message when booting saying:
> "cat uses obsolete /proc/pci interface"
It has nothing to do with the startup sequence. The 2.2.x (and 2.1.x) have
introduced another interface to report about the PCI bus devices on your
system. Kernels prior to 2.1.x used /proc/pci to publish this information in a
textual form, while the >=2.1.x kernels have /proc/bus/pci interface which
exports that data in a binary form which is translated into human-readable
data using the pciutils package. /proc/pci can be compiled into kernel for
compatibility reasons, but the kernel can complain about some program using an
obsolete interface, as it did in your case.
> It must be a way to load software/scripts in a simple way when booting. Or
> isn't it?
Oh, there is. Just put an executable script in /etc/init.d. For your
convenience, there's a skeleton file in /etc/init.d/skeleton which you can use
as a template for a properly constructed startup file.
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: Requires PGP version 2.6 or later.
-----END PGP PUBLIC KEY BLOCK-----