nfs/nfsroot-cleanup.sh: silently try to umount rpc_pipefs
parent
debf483d4d
commit
e684eab878
|
|
@ -24,9 +24,9 @@ if incol2 /proc/mounts /var/lib/nfs/rpc_pipefs; then
|
|||
if [ -d $NEWROOT/$rpcpipefspath ]; then
|
||||
# mount --move does not seem to work???
|
||||
mount --bind /var/lib/nfs/rpc_pipefs $NEWROOT/$rpcpipefspath
|
||||
umount /var/lib/nfs/rpc_pipefs
|
||||
umount /var/lib/nfs/rpc_pipefs 2>/dev/null
|
||||
else
|
||||
umount /var/lib/nfs/rpc_pipefs
|
||||
umount /var/lib/nfs/rpc_pipefs 2>/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue