diff options
Diffstat (limited to 'chapter09/reboot.xml')
-rw-r--r-- | chapter09/reboot.xml | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml index d8d4aa00d..cf95c024f 100644 --- a/chapter09/reboot.xml +++ b/chapter09/reboot.xml @@ -87,16 +87,8 @@ <para>Then unmount the virtual file systems:</para> <screen><userinput>umount -v $LFS/dev/pts - -if [ -h $LFS/dev/shm ]; then - link=$(readlink $LFS/dev/shm) - umount -v $LFS/$link - unset link -else - umount -v $LFS/dev/shm -fi - umount -v $LFS/dev +umount -v $LFS/run umount -v $LFS/proc umount -v $LFS/sys</userinput></screen> |