Is there an equivalent to /etc/rc.d/rc.local in ubuntu?
Vram
lamsokvr at xprt.net
Mon Dec 12 00:28:38 UTC 2005
On Sun, 2005-12-11 at 18:33 -0500, Joe(theWordy)Philbrook wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Is there an equivalent to /etc/rc.d/rc.local in ubuntu?
>
> On my FC2 system /etc/rc.d/rc.local says:
>
> #!/bin/sh
> #
> # This script will be executed *after* all the other init scripts.
> # You can put your own initialization stuff in here if you don't
> # want to do the full Sys V style init stuff.
>
> There are sometimes some local issues that an old dos user like me first
> looks at an old note of equivalents for autoexec.bat...
> My note points to rc.local as the least dangerous place for a less than
> expert like me to mess with the init scripts... I mean I doubt that it
> would be a good idea for me to just add symlinks to /root/bin/ scripts
> in /etc/rcS.d???
Here is the Read.me
The scripts in this directory are executed once when booting the system,
even when booting directly into single user mode. The files are all
symbolic
links, the real files are located in /etc/init.d/ . For a more general
discussion of this technique, see /etc/init.d/README.
The following sequence points are defined at this time:
* After the S40 scripts have executed, all local file systems are
mounted
and networking is available. All device drivers have been initialized.
* After the S60 scripts have executed, the system clock has been set,
NFS
filesystems have been mounted (unless the system depends on the
automounter,
which is started later) and the filesystems have been cleaned.
That is where I put stuff....
HTH
YMMV
Vram
More information about the ubuntu-users
mailing list