Ignore:
Timestamp:
03/28/2004 07:14:54 AM (20 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
babc75b
Parents:
ae9c528
Message:

Completed lfs-bootscripts changes

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/lprng/lprng-config.xml

    rae9c528 rfe88f584  
    1616
    1717<para>The init script installed by <application>LPRng</application> is not
    18 consistent with <acronym>BLFS</acronym> scripts; therefore, we will create a
    19 new one with the following commands:</para>
     18consistent with other <acronym>BLFS</acronym> scripts; therefore, we will install
     19<filename>/etc/rc.d/init.d/lprng</filename>
     20init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
    2021
    21 <screen><userinput><command>mv /etc/rc.d/init.d/lpd /etc/rc.d/init.d/lpd.orig &amp;&amp;
    22 cat &gt; /etc/rc.d/init.d/lpd &lt;&lt; "EOF"</command>
    23 #!/bin/sh
    24 # Begin $rc_base/init.d/lpd
    25 
    26 # Based on sysklogd script from LFS-3.1 and earlier.
    27 # Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
    28 
    29 . /etc/sysconfig/rc
    30 . $rc_functions
    31 
    32 case "$1" in
    33         start)
    34                 echo "Starting lpd..."
    35                 loadproc /usr/sbin/lpd
    36                 ;;
    37 
    38         stop)
    39                 echo "Stopping lpd..."
    40                 killproc /usr/sbin/lpd
    41                 ;;
    42 
    43         reload)
    44                 echo "Reloading lpd..."
    45                 reloadproc /usr/sbin/lpd
    46                 ;;
    47 
    48         restart)
    49                 $0 stop
    50                 sleep 1
    51                 $0 start
    52                 ;;
    53 
    54         status)
    55                 statusproc /usr/sbin/lpd
    56                 ;;
    57 
    58         *)
    59                 echo "Usage: $0 {start|stop|reload|restart|status}"
    60                 exit 1
    61                 ;;
    62 esac
    63 
    64 # End $rc_base/init.d/lpd
    65 <command>EOF
    66 chmod 755 /etc/rc.d/init.d/lpd</command></userinput></screen>
    67 
    68 <para>Create the symbolic links to the lprng init script in the relevant
    69 <filename>rc.d</filename> directories with the following
    70 commands:</para>
    71 <screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
    72 ln -sf ../init.d/lpd ../rc0.d/K00lprng &amp;&amp;
    73 ln -sf ../init.d/lpd ../rc1.d/K00lprng &amp;&amp;
    74 ln -sf ../init.d/lpd ../rc2.d/S99lprng &amp;&amp;
    75 ln -sf ../init.d/lpd ../rc3.d/S99lprng &amp;&amp;
    76 ln -sf ../init.d/lpd ../rc4.d/S99lprng &amp;&amp;
    77 ln -sf ../init.d/lpd ../rc5.d/S99lprng &amp;&amp;
    78 ln -sf ../init.d/lpd ../rc6.d/K00lprng</command></userinput></screen>
     22<screen><userinput><command>make install-lprng</command></userinput></screen>
    7923
    8024</sect3>
Note: See TracChangeset for help on using the changeset viewer.