[PATCH] live-initramfs: eject the cd in non-persistent mode
do_stop() would previously just return in non-persistent mode, without
doing any checks for net vs usb vs cd boot, and without doing the eject
and prompt.
Signed-off-by: Julien Cristau <jcristau@debian.org>
---
debian/live-initramfs.init | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init
index 2082a2b..e4e46d5 100644
--- a/debian/live-initramfs.init
+++ b/debian/live-initramfs.init
@@ -106,8 +106,6 @@ do_stop ()
then
${DO_SNAPSHOT} --resync-string="${HOMESNAP}"
fi
- else
- return 0
fi
# check for netboot
--
1.6.2.4
Reply to: