[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, George Bonser wrote:

> > I am a newbie and do not undestand the init files in Debian yet. I have tried
> > to read up on it, but I am still confused.
> > 
> > Can anyone help me out, please?
> 
> Debian uses standard System V init files. There is no such thing as rc.d
> or rc.local in SysV, they come from BSD unix. You can fix the problem
> partially by creating a /etc/rc.d directory and then under that symlinking
> /etc/rc1.d to /etc/rc.d/rc1/d and so on for rc1.d through rc6.d as well as
> init.d.  Then you might create a file called local in /etc/init.d and
> install it with update-rc.d with a 99 so it gets run last. Then symlink
> /etc/init.d/local to /etc/rc.d/rc.local.
Hmm... isn't that a bit overkill? Why don't you just put stuff in /etc/rc.boot
or do cd /etc;mkdir rc.d;ln -sf rc.boot rc.d/rc.local???

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: