[lfs] 01/02: systemd: Sync a sed with udev in sysv revision

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

commit f8bdaa6ff38311051aaf92ec552678ddb66f83c1
Author: Xi Ruoyao <[email protected]>
AuthorDate: Wed Dec 18 10:42:01 2024 +0800

    systemd: Sync a sed with udev in sysv revision
    
    Let's make the two revisions more consistent.
---
 chapter08/systemd.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index c2fc9dc6d..1e17c60ce 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -45,8 +45,9 @@
     <systemitem class="groupname">sgx</systemitem>, from the default udev
     rules:</para>
 
- <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
-       -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
+ <screen><userinput remap="pre">sed -e 's/GROUP="render"/GROUP="video"/' \
+    -e 's/GROUP="sgx", //'               \
+    -i rules.d/50-udev-default.rules.in</userinput></screen>
 
     <para>Prepare systemd for compilation:</para>
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.