Re: /etc/rc.boot

From: Miquel van Smoorenburg (miquels_at_cistron.nl)
Date: 08/22/03

  • Next message: Miquel van Smoorenburg: "Re: /etc/rc.boot"
    Date: Fri, 22 Aug 2003 12:09:41 +0000 (UTC)
    To: debian-user@lists.debian.org
    
    

    In article <20030821183755.GB15848@diamond.madduck.net>,
    martin f krafft <madduck@debian.org> wrote:
    >-=-=-=-=-=-
    >
    >also sprach Colin Watson <cjwatson@debian.org> [2003.08.21.1554 +0200]:
    >> Why not just write a single script, /etc/init.d/local or something,
    >> which you add to as necessary?
    >
    >also sprach David Z Maze <dmaze@debian.org> [2003.08.21.1734 +0200]:
    >> So create a single /etc/init.d/local script, copying
    >
    >[...]
    >
    >Because I was actually more wondering why Debian is deprecating
    >rc.boot. Isn't it useful? I would definitely prefer it...

    Because rc.boot was run in between /etc/rcS.d and /etc/rc[1-6].d,
    and usually you want to run local stuff as the *last* thing
    during boot, so you can be sure all standard services (like NIS,
    if you use that, NFS, etc) are up and running.

    To create a "local" rc script:

    # cp /etc/init.d/skeleton /etc/init.d/local
    # vi /etc/init.d/local
    # chmod 755 /etc/init.d/local
    # update-rc.d local defaults 80

    .. that's all.

    Mike.

    -- 
    RAND USR 16514
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Miquel van Smoorenburg: "Re: /etc/rc.boot"

    Relevant Pages

    • Re: Mr. Mad Duck: about etch-stable fluxbox?
      ... Mr. Krafft also wrote the following book: ... Martin F. Krafft, THE DEBIAN SYSTEM, Munich, Germany: Open Source Press GmbH 2005 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Unidentified subject!
      ... Subject: brainstorming: why Debian? ... Hi Martin, ... martin f krafft wrote: ...
      (Debian-User)
    • Re: apt problems
      ... Please do not send copies of list mail to me; ... martin f. ... krafft ... `- Debian - when you have better things to do than fixing a system ...
      (Debian-User)
    • Re: Kernel source packages..
      ... Many thanks to David, NN_il_Confusion and martin for their suggestions, ... I'm still a bit of a newbie with the Debian package management stuff. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Installing a Lenny package to an Etch machine
      ... I wish I had my copy next to me, but I know Martin Krafft's excellent ... book _The Debian System_ has some good material on how to safely mix and ... a backport will require a backport of ... ::': proud Debian developer, author, administrator, and user ...
      (Debian-User)