Print this page
9696 add /etc/system.d support
Portions contributed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Toomas Soome <tsoome@me.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/nsadmin/system
          +++ new/usr/src/cmd/nsadmin/system
   1      -*ident  "%Z%%M% %I%     %E% SMI" /* SVR4 1.5 */
   2    1  *
   3    2  * CDDL HEADER START
   4    3  *
   5    4  * The contents of this file are subject to the terms of the
   6    5  * Common Development and Distribution License, Version 1.0 only
   7    6  * (the "License").  You may not use this file except in compliance
   8    7  * with the License.
   9    8  *
  10    9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11   10  * or http://www.opensolaris.org/os/licensing.
↓ open down ↓ 5 lines elided ↑ open up ↑
  17   16  * If applicable, add the following below this CDDL HEADER, with the
  18   17  * fields enclosed by brackets "[]" replaced with your own identifying
  19   18  * information: Portions Copyright [yyyy] [name of copyright owner]
  20   19  *
  21   20  * CDDL HEADER END
  22   21  *
  23   22  *
  24   23  * SYSTEM SPECIFICATION FILE
  25   24  *
  26   25  
       26 +* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       27 +*
       28 +* It is not recommended to edit this file directly but rather
       29 +* to deliver configuration fragments into files under /etc/system.d;
       30 +* files in /etc/system.d are combined in alphabetical order and read by
       31 +* the kernel before this file (/etc/system) is processed.
       32 +*
       33 +* Refer to the system(4) manual page for more information and
       34 +* recommendations on naming fragment files.
       35 +*
       36 +* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       37 +
  27   38  * moddir:
  28   39  *
  29   40  *       Set the search path for modules.  This has a format similar to the
  30   41  *       csh path variable. If the module isn't found in the first directory
  31   42  *       it tries the second and so on. The default is /kernel /usr/kernel
  32   43  *
  33   44  *       Example:
  34   45  *               moddir: /kernel /usr/kernel /other/modules
  35   46  
  36   47  
↓ open down ↓ 28 lines elided ↑ open up ↑
  65   76  *       Examples:
  66   77  *               exclude: win
  67   78  *               exclude: sys/shmsys
  68   79  
  69   80  
  70   81  
  71   82  * forceload:
  72   83  *
  73   84  *       Cause these modules to be loaded at boot time, (just before mounting
  74   85  *       the root filesystem) rather than at first reference. Note that
  75      -*       forceload expects a filename which includes the directory. Also
       86 +*       forceload expects a filename which includes the directory. Also
  76   87  *       note that loading a module does not necessarily imply that it will
  77   88  *       be installed.
  78   89  *
  79   90  *       Example:
  80   91  *               forceload: drv/foo
  81   92  
  82   93  
  83   94  
  84   95  * set:
  85   96  *
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX