aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-05-22 00:02:27 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-05-22 00:02:27 +0800
commite3471c8c4d210fa6c7406623dbef044bb0b786d5 (patch)
tree461158be958150b3894287872b63c3af2f11eb72 /chapter08
parent7ffe1b81690fd49fa88c6650b8b77818f17df50b (diff)
kmod: create symlinks in /usr/sbin (merge /usr)
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/kmod.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter08/kmod.xml b/chapter08/kmod.xml
index 4f454ff69..a5a992d4e 100644
--- a/chapter08/kmod.xml
+++ b/chapter08/kmod.xml
@@ -76,7 +76,7 @@
<screen><userinput remap="install">make install
for target in depmod insmod lsmod modinfo modprobe rmmod; do
- ln -sfv ../bin/kmod /sbin/$target
+ ln -sfv ../bin/kmod /usr/sbin/$target
done
ln -sfv kmod /bin/lsmod</userinput></screen>