Browse Source

nfs/nfsroot-cleanup.sh: silently try to umount rpc_pipefs

master
Harald Hoyer 12 years ago
parent
commit
e684eab878
  1. 4
      modules.d/95nfs/nfsroot-cleanup.sh

4
modules.d/95nfs/nfsroot-cleanup.sh

@ -24,9 +24,9 @@ if incol2 /proc/mounts /var/lib/nfs/rpc_pipefs; then
if [ -d $NEWROOT/$rpcpipefspath ]; then if [ -d $NEWROOT/$rpcpipefspath ]; then
# mount --move does not seem to work??? # mount --move does not seem to work???
mount --bind /var/lib/nfs/rpc_pipefs $NEWROOT/$rpcpipefspath 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 else
umount /var/lib/nfs/rpc_pipefs umount /var/lib/nfs/rpc_pipefs 2>/dev/null
fi fi
fi fi



Loading…
Cancel
Save