Re: /etc/init.d/ - add/remove services

From: Adam Aube (aaube01_at_baker.edu)
Date: 01/30/04

  • Next message: Day Brown: "Re: kernel: __alloc_pages: 0-order allocation failed (after upgrade to2.4.23/24)"
    To: debian-user@lists.debian.org
    Date: Fri, 30 Jan 2004 15:24:19 -0500
    
    

    On Friday 30 January 2004 03:15 pm, mrl7d4@sbcglobal.net wrote:
    > What is the preferred way to add or remove a /etc/init.d/ service from
    > certain runlevels?

    For adding, use the update-rc.d script. To remove, just manually delete
    the symlink. You can use update-rc.d to remove, but you would need to
    first remove all the symlinks, then add the set that you want.

    Adam

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

  • Next message: Day Brown: "Re: kernel: __alloc_pages: 0-order allocation failed (after upgrade to2.4.23/24)"

    Relevant Pages

    • Re: Udev problem - more investigation
      ... I tried the suggestion in there, and from then on the symlink failed to be created at all :-) ... rule should not be creating symlinks to hard drives. ... Now you say that when you made udev stop processing at the end ... also uses the PROGRAM or the RUN option to run a program or script. ...
      (Fedora)
    • Re: [PHP] sendmail smrsh symlinks not working against php scripts
      ... The problem is that when I specify the script to be executed ... as being a symlink, ... It's just too easy for some hacker email to run arbitrary PHP code on ... and sendmail pipe the data to the executable .php ...
      (php.general)
    • Re: [PHP] sendmail smrsh symlinks not working against php scripts
      ... The problem is that when I specify the script to be executed ... as being a symlink, ... It's just too easy for some hacker email to run arbitrary PHP code on ... execute a file which is a symlink, and requires the input file to be a ...
      (php.general)
    • Re: Finding Background processes?
      ... I want to check whether a particular script (say ... If it exists then I want to exit the code else proceed further. ... If you know the process ID, you can use kill() to determine if it's running. ... # Attempt to create a symlink, will fail if such a symlink already exists. ...
      (comp.lang.perl.misc)
    • Re: Suse / KDE Start script.
      ... antroy wrote: ... > It seems that the command must be executed once KDE is up and running. ... Then make a symlink called Sprinter (??+1 being the ... I'm not sure how to get your script to be executed after CUPS is fired up. ...
      (alt.os.linux.suse)