aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/introduction.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-04-04 20:15:34 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-04-04 20:15:34 +0000
commit9ab3742957eb1a19d0d51fcaa99d379ca39e05c5 (patch)
treeda1be9b808648b6809b920892680c7144c77fc0d /chapter07/introduction.xml
parent995211125659b836f130328d4a39b7b44374d81a (diff)
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
Diffstat (limited to 'chapter07/introduction.xml')
-rw-r--r--chapter07/introduction.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml
index 644520d4a..27c5dbba4 100644
--- a/chapter07/introduction.xml
+++ b/chapter07/introduction.xml
@@ -175,7 +175,7 @@
ensure the files that are needed by the system have the correct names.
The following scripts do that.</para>
-<screen><userinput remap="install">cat &gt; /usr/local/sbin/set-systemd &lt;&lt; "EOF"
+<screen><userinput remap="install">cat &gt; /usr/sbin/set-systemd &lt;&lt; "EOF"
#! /bin/bash
ln -svfn init-systemd /sbin/init
@@ -189,9 +189,11 @@ done
echo "Now reboot with /sbin/reboot-sysv"
EOF
-chmod 0744 /usr/local/sbin/set-systemd
+chmod 0744 /usr/sbin/set-systemd
+
+cat &gt; /usr/sbin/set-sysv &lt;&lt; "EOF"
+#! /bin/bash
-cat &gt; /usr/local/sbin/set-sysv &lt;&lt; "EOF"
ln -sfvn init-sysv /sbin/init
ln -svfn init.d-sysv /etc/init.d
@@ -203,11 +205,11 @@ done
echo "Now reboot with /sbin/reboot-systemd"
EOF
-chmod 0744 /usr/local/sbin/set-sysv</userinput></screen>
+chmod 0744 /usr/sbin/set-sysv</userinput></screen>
<para>Now set the desired boot system. The default is System V:</para>
-<screen><userinput remap="install">/usr/local/sbin/set-sysv</userinput></screen>
+<screen><userinput remap="install">/usr/sbin/set-sysv</userinput></screen>
<para>Changing the boot system can be done at any time by running the
appropriate script above and rebooting.</para>