Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Kitty Hooch

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 82 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       insserv [-d] [-f] [[/]path/to/init.d/]script ...

       [[/]path/to/init.d/]script[,start=<lvl1>[,<lvl2>]] ...

       insserv -r [-d] [-f] [[/]path/to/init.d/]script ...

       insserv -h

       /usr/lib/lsb/install_initd [[/]path/to/init.d/script]

       /usr/lib/lsb/remove_initd [[/]path/to/init.d/script]


       insserv enables an installed  system  init  script  (`boot
       script')  by  reading  the  comment  header of the script,

         ### BEGIN INIT INFO
         # Provides:       boot_facility_1 [ boot_facility_2 ...]
         # Required-Start: boot_facility_1 [ boot_facility_2 ...]
         # Required-Stop:  boot_facility_1 [ boot_facility_2 ...]
         # X-UnitedLinux-Should-Start: boot_facility_1 [ boot_facility_2 ...]
         # X-UnitedLinux-Should-Stop:  boot_facility_1 [ boot_facility_2 ...]
         # Default-Start:  run_level_1 [ run_level_2 ...]
         # Default-Stop:   run_level_1 [ run_level_2 ...]
         # Description:    multiline_description
         ### END INIT INFO

       and calculating  the  dependencies  between  all  scripts.
       Please note, that the Required-Stop, X-UnitedLinux-Should-
       Stop, and Default-Stop are ignored in SuSE Linux,  because
       the  SuSE  boot  script  concept  uses a differential link
       scheme (see init.d(7)).  With known dependencies and  run­
       level(s)  insserv sets and reorders the corresponding sym­
       bolic links of the concerned  runlevels  directories  (see
       init.d(7)).  Known runlevels are:

         0   used for System halt
         1   used for single user mode
         2   used for local multiuser without remote network
         3   used for full multiuser with network
         4   reserved for local use
         5   used for full multiuser with network and xdm
         6   used for System reboot
         S   used during boot into single user mode
         B   used during boot before any other runlevel

       insserv  scans  for System Facilities in the configuration
       file /etc/insserv.conf.  Each line which begins with $ and
         $named          named

         # All remote filesystems are mounted
         # (in some cases /usr may be remote).
         $remote_fs      $local_fs nfs

         # System logger is operational
         $syslog         syslog

         # All network daemons are running
         $netdaemons     portmap inetd

         # Services which need to be interactive
         <interactive>   boot.crypto

       Names starting with a `+' sign are marked as optional.  If
       the service with the name after the plus sign is available
       it  will be used, if not available it is ignored silently.
       Words beginning with < and ending  with  >  are  keywords.
       Currently <interactive> is the only know keyword for mark­
       ing a service as an interactive one, e.g. a service  which
       requires  a  passphrase  or  password input during boot or
       runlevel change.


       Currently there is only two options for insserv.

       -r, --remove
              Remove the listed scripts from all runlevels.

       -d, --default
              Use default runlevels a  defined  in  the  scripts.
              This may restore an edited runlevel link scheme.

       -f, --force
              Ignore if a required service is missed.

       -h, --help
              Print out short usage message.

       But  you may use the argument syntax described in the fol­
       lowing section.


              Relative or absolute path to the init scripts  base
              directory.   For  the SuSE Linux boot concept, this
              defaults to /etc/init.d/ in compliance with the LSB
              specification.   In  this case insserv does not add
              or remove a script to the runlevels declared in the
              script  headers,  but may re-order the runlevels if
              the order of  the  currently  enabled  scripts  has
              ified  runlevels  to  be started with.  You may use
              this extension to overwrite the default values  for
              start  and stop runlevels of the script.  Note that
              <lvl1>, <lvl2>, ...   are   the   known   runlevels
              explained        above.         The       extension
              ,stop=<lvl1>[,<lvl2>]] is possible but  ignored  on
              SuSE Linux.

       -r [[/]path/to/init.d/]script ...
              List  of  scripts  which should be removed from the
              runlevels. If a path is used it should point to the
              absolute  or relative location of the boot scripts.
              insserv checks for the existence of these  scripts.


       Boot script sometimes misses comments.


              configuration  file  for  insserv which defines the
              LSB System Facilities.

              path to the SuSE  boot  script  base  directory  as
              required  by  the Linux Standard Base Specification


       init.d(7),  init(7),  startproc(8),  checkproc(8),   kill­


       2000-2003 Werner Fink, 2000-2003 SuSE GmbH Nuernberg, Ger­


       Werner Fink <feedback@suse.de>

Version 1.00               Aug 28, 2003                INSSERV(8)
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can help in many different ways.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds