Ignore:
Timestamp:
04/04/2014 08:15:34 PM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
df37fa9
Parents:
9952111
Message:

Move set-sysv and set-systemd to /usr/sbin

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10523 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/introduction.xml

    r9952111 r9ab3742  
    176176    The following scripts do that.</para>
    177177
    178 <screen><userinput remap="install">cat &gt; /usr/local/sbin/set-systemd &lt;&lt; "EOF"
     178<screen><userinput remap="install">cat &gt; /usr/sbin/set-systemd &lt;&lt; "EOF"
    179179#! /bin/bash
    180180
     
    190190EOF
    191191
    192 chmod 0744 /usr/local/sbin/set-systemd
    193 
    194 cat &gt; /usr/local/sbin/set-sysv &lt;&lt; "EOF"
     192chmod 0744 /usr/sbin/set-systemd
     193
     194cat &gt; /usr/sbin/set-sysv &lt;&lt; "EOF"
     195#! /bin/bash
     196
    195197ln -sfvn init-sysv    /sbin/init
    196198ln -svfn init.d-sysv  /etc/init.d
     
    204206EOF
    205207
    206 chmod 0744 /usr/local/sbin/set-sysv</userinput></screen>
     208chmod 0744 /usr/sbin/set-sysv</userinput></screen>
    207209
    208210  <para>Now set the desired boot system.  The default is System V:</para>
    209211
    210 <screen><userinput remap="install">/usr/local/sbin/set-sysv</userinput></screen>
     212<screen><userinput remap="install">/usr/sbin/set-sysv</userinput></screen>
    211213
    212214  <para>Changing the boot system can be done at any time by running the
Note: See TracChangeset for help on using the changeset viewer.