summaryrefslogtreecommitdiff
path: root/archiso/archiso_shutdown
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-08-25 15:14:51 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-08-25 15:14:51 -0300
commit6fae221c28cf677809f52dea7cecdd74406cc8ac (patch)
tree776ed1ff14a36ac72f8d472fb9bf6531e99707ce /archiso/archiso_shutdown
parent0fdbf313415e28ebc96e1fb5da7577b996ab6aa1 (diff)
downloadarchiso32-6fae221c28cf677809f52dea7cecdd74406cc8ac.tar.xz
[archiso] Always copytoram for NBD
Avoid issues on shutdown (and during normal usage if network settings changed) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/archiso_shutdown')
-rw-r--r--archiso/archiso_shutdown3
1 files changed, 0 insertions, 3 deletions
diff --git a/archiso/archiso_shutdown b/archiso/archiso_shutdown
index 85cce59..41b3945 100644
--- a/archiso/archiso_shutdown
+++ b/archiso/archiso_shutdown
@@ -27,9 +27,6 @@ if [[ ! -d /oldrun/archiso/copytoram ]]; then
else
umount /oldrun/archiso/bootmnt
fi
- if [[ -f /oldrun/archiso/nbd_client.pid ]]; then
- nbd-client -d /dev/nbd0
- fi
fi
# reboot / poweroff / halt, depending on the argument passed by init