reboot: fix /dev/shm unmounting command

/dev/shm may be a mount point, or a symlink.
This commit is contained in:
Xi Ruoyao
2022-10-02 16:12:26 +08:00
parent 8e0c191b9b
commit bde421e48d

View File

@@ -107,7 +107,7 @@
<para>Then unmount the virtual file systems:</para>
<screen><userinput>umount -v $LFS/dev/pts
umount -v $LFS/dev/shm
mountpoint -q $LFS/dev/shm &amp;&amp; umount $LFS/dev/shm
umount -v $LFS/dev
umount -v $LFS/run
umount -v $LFS/proc