mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-09 15:09:44 +00:00
use su
This commit is contained in:
parent
2c62eb901f
commit
6e56b9c05c
1 changed files with 6 additions and 6 deletions
|
@ -1610,10 +1610,10 @@ EOF
|
|||
logout
|
||||
|
||||
# Unmount filesystems
|
||||
umount -v $LFS/dev/pts
|
||||
umount -v $LFS/dev
|
||||
umount -v $LFS/run
|
||||
umount -v $LFS/proc
|
||||
umount -v $LFS/sys
|
||||
umount -v $LFS
|
||||
su -c "umount -v $LFS/dev/pts"
|
||||
su -c "umount -v $LFS/dev"
|
||||
su -c "umount -v $LFS/run"
|
||||
su -c "umount -v $LFS/proc"
|
||||
su -c "umount -v $LFS/sys"
|
||||
su -c "umount -v $LFS"
|
||||
|
||||
|
|
Loading…
Reference in a new issue