Re: /etc/rc.boot

From: David Z Maze (dmaze_at_debian.org)
Date: 08/21/03

  • Next message: Williams, Jessica: "Out of Office AutoReply: That movie"
    To: debian users <debian-user@lists.debian.org>
    Date: Thu, 21 Aug 2003 11:34:03 -0400
    
    

    martin f krafft <madduck@debian.org> writes:

    > /etc/init.d/rcS says that /etc/rc.boot is run only for
    > compatibility. What's the Debian standard for rc.local/rc.boot now?
    > Please don't make me write init.d scripts for every single line
    > I need.

    So create a single /etc/init.d/local script, copying
    /etc/init.d/skeleton, and add it into the boot sequence using
    update-rc.d or ln normally. If you want multiple things to start at
    different points in the startup sequence or in different runlevels,
    then you need multiple scripts, but nothing is stopping you from
    creating just one script that does several different things.

    -- 
    David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
    "Theoretical politics is interesting.  Politicking should be illegal."
    	-- Abra Mitchell
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Williams, Jessica: "Out of Office AutoReply: That movie"

    Relevant Pages

    • Re: Direct to new page without headers
      ... Frankly, I prefer multiple scripts. ... The director has a switch statement that defines a preprocessing script and the html variable to be used in the template file. ... The preprocessor and the postprocessor also do access checking to prevent unauthorized access via a separate include file. ...
      (comp.lang.php)
    • Multiple scripts on same HTML page
      ... I know I can have multiple scripts on one HTML page (at least I think I know ... one solid lesson: Just because it works one way, ...
      (comp.lang.javascript)
    • Mulitple shell scripts accessing a single log file
      ... A single log file, which is been written simultaneously, ... Would there be any problems if multiple scripts try writing to ...
      (comp.unix.shell)
    • Re: Running multiple login scripts
      ... >i was wondering if it was possible to run multiple scripts when putting them ... >into the Profile tab of a user. ... Prev by Date: ...
      (microsoft.public.win2000.active_directory)
    • Re: Sound files on bootup; IMessenger for SuSE
      ... one the more frustrating aspects of learning Linux is finding the ... >with the different runlevels having links to the scripts to run on ... >own scripts and add them to the boot sequence. ...
      (alt.os.linux.suse)