[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.

marek

-- 
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3ia
Comment: Requires PGP version 2.6 or later.

mQCNAzao258AAAEEAM7hrSfj5QmbZMJ64b1COVrXNuraF95y8Djln0a37UBlLZQ7
4EJ9Die2V2kUSb4ndpCC5owSvR7KWBq6XYTVw7ne42PfzgIe/l+xG2e9pmztS1oZ
Yhyow8aQ4Thlw286dvjuqWQ00M0s3XnWB24SpiQzsYZOwEfdlZ1EuNB7BOoNAAUR
tCRNYXJlayBIYWJlcnNhY2sgPGdyZW5kZWxAdmlwLm5ldC5wbD6JAJUDBRA2qNuf
nUS40HsE6g0BAfYuA/9NShgAKJ/iM5uSYmNXt6srSOIwUumqoVl0GVzXFHFPQaFB
gqf2e2wNBIQH5DpGOYeyVW5GWsho+aM3lsPIMgCxKUb2sOuLzywl89GPnoAOc37B
UQsbFdTH8cyQGoEjwHgqyu+7Omc5ptGXMjuYO0NN++tQsGRETcnwzSWviGExuA==
=+3ah
-----END PGP PUBLIC KEY BLOCK-----


Reply to: