Changeset ccca0bd


Ignore:
Timestamp:
05/15/2004 07:16:06 AM (17 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
46faf17
Parents:
eb2ca242
Message:

Updated to blfs-bootscripts-2004-05-15, added usb and kerberos init scripts

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2164 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libusb/libusb-config.xml

    reb2ca242 rccca0bd  
    1717because just putting an extra line into
    1818<filename>/etc/fstab</filename> does not work for those who compiled
    19 "USB device filesystem" as a kernel module. To do this,
    20 execute the following command:</para>
    21 
    22 <screen><userinput><command>cat &gt;/etc/rc.d/init.d/usb &lt;&lt;"EOF"</command>
    23 #!/bin/sh
    24 # Begin $rc_base/init.d/usb
    25 
    26 . /etc/sysconfig/rc
    27 . $rc_functions
    28 
    29 modprobe usbcore 2&gt;/dev/null || true
    30 # insert a modprobe command for your USB host adapter here, e.g.
    31 # modprobe ehci-hcd 2&gt;/dev/null
    32 # Other host adapters are uhci-hcd and ohci-hcd
    33 # 2.4.x kernels have usb-ehci, usb-uhci, and usb-ohci modules
    34 if ( grep -q usbfs /proc/filesystems )
    35 then
    36         echo "Mounting USB filesystem"
    37         mount -o devgid=15,devmode=0660 -t usbfs usbfs /proc/bus/usb
    38         evaluate_retval
    39 fi
    40 # End $rc_base/init.d/usb
    41 <command>EOF</command></userinput></screen>
    42 
    43 <para>Give this script the appropriate permissions and
    44 make a symlink to run it at startup:</para>
    45 <screen><userinput><command>chmod 755 /etc/rc.d/init.d/usb &amp;&amp;
    46 ln -s ../init.d/usb /etc/rc.d/rcsysinit.d/S90usb</command></userinput></screen>
     19"USB device filesystem" as a kernel module.
     20Install <filename>/etc/rc.d/init.d/usb</filename>
     21init script included in the
     22<xref linkend="intro-important-bootscripts"/> package.</para>
     23                                                                                                               
     24<screen><userinput><command>make install-usb</command></userinput></screen>
    4725
    4826</sect2>
  • index.xml

    reb2ca242 rccca0bd  
    33                        "/usr/share/docbook/docbookx.dtd" [
    44
    5 <!ENTITY version "CVS-20040514">
    6 <!ENTITY releasedate "May 14th, 2004">
    7 <!ENTITY pubdate "2004-05-14">
     5<!ENTITY version "CVS-20040515">
     6<!ENTITY releasedate "May 15th, 2004">
     7<!ENTITY pubdate "2004-05-15">
    88<!ENTITY blfs-version "cvs">
    99
  • introduction/introduction.ent

    reb2ca242 rccca0bd  
    11<!ENTITY introduction SYSTEM "introduction.xml">
    22
    3 <!ENTITY blfs-bootscripts-version "2004-05-14">
     3<!ENTITY blfs-bootscripts-version "2004-05-15">
    44<!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
    55
  • introduction/welcome/changelog.xml

    reb2ca242 rccca0bd  
    1111
    1212<itemizedlist>
     13
     14<listitem><para>May 15th, 2004 [tushar]: Added usb and kerberos
     15init scripts. Upgraded to blfs-bootscripts-2004-05-15.</para></listitem>
    1316
    1417<listitem><para>May 14th, 2004 [igor]: Updated to GNOME
  • postlfs/security/mitkrb/mitkrb-config.xml

    reb2ca242 rccca0bd  
    156156</para>
    157157
    158 <!---
    159158<para>Install <filename>/etc/rc.d/init.d/kerberos</filename> init script
    160159included in the <xref linkend="intro-important-bootscripts"/>
    161160package.</para>
    162161
    163 <screen><userinput><command>make install-heimdal</command></userinput></screen>
    164 -->
    165 
    166 <para>
    167 To automate the running of Kerberos server, use the following command to create
    168 the init.d script:
    169 </para>
    170 
    171 <screen><userinput><command>cat &gt;etc/rc.d/init.d/kerberos &lt;&lt; "EOF"</command>
    172 #!/bin/sh
    173 # Begin $rc_base/init.d/kerberos
    174 
    175 # Based on sysklogd script from LFS-3.1 and earlier.
    176 # Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
    177 
    178 . /etc/sysconfig/rc
    179 . $rc_functions
    180 
    181 case "$1" in
    182         start) 
    183                 echo "Starting Kerberos Authentication..."
    184                 loadproc krb5kdc
    185                 echo "Starting Kerberos Admin Daemon..."
    186                 loadproc kadmind
    187                 ;;
    188 
    189         stop)
    190                 echo "Stopping Kerberos Authentication..."
    191                 killproc krb5kdc
    192                 echo "Stopping Kerberos Admin Daemon..."
    193                 killproc kadmind
    194                 ;;
    195 
    196         reload)
    197                 echo "Reloading Kerberos Authentication..."
    198                 reloadproc krb5kdc
    199                 echo "Reloading Kerberos Admin Daemon..."
    200                 reloadproc kadmind
    201                 ;;
    202 
    203         restart)
    204                 $0 stop
    205                 sleep 1
    206                 $0 start
    207                 ;;
    208 
    209         status)
    210                 statusproc
    211                 ;;
    212 
    213         *)
    214                 echo "Usage: $0 {start|stop|reload|restart|status}"
    215                 exit 1
    216                 ;;
    217 esac
    218 
    219 # End $rc_base/init.d/kerberos
    220 <command>EOF
    221 chmod 754 /etc/rc.d/init.d/kerberos</command></userinput></screen>
    222 
    223 <para>
    224 Create the symbolic links to this file in the relevant <filename
    225 class="directory">rc.d</filename> directory with the following commands:
    226 </para>
    227 
    228 <screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
    229 ln -sf ../init.d/kerberos ../rc0.d/K42kerberos &amp;&amp;
    230 ln -sf ../init.d/kerberos ../rc1.d/K42kerberos &amp;&amp;
    231 ln -sf ../init.d/kerberos ../rc2.d/K42kerberos &amp;&amp;
    232 ln -sf ../init.d/kerberos ../rc3.d/S28kerberos &amp;&amp;
    233 ln -sf ../init.d/kerberos ../rc4.d/S28kerberos &amp;&amp;
    234 ln -sf ../init.d/kerberos ../rc5.d/S28kerberos &amp;&amp;
    235 ln -sf ../init.d/kerberos ../rc6.d/K42kerberos</command></userinput></screen>
     162<screen><userinput><command>make install-kerberos</command></userinput></screen>
    236163
    237164</sect4>
Note: See TracChangeset for help on using the changeset viewer.