[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#285318: marked as done (leave busybox shell to continue booting)



Your message dated Mon, 05 May 2008 10:23:25 +0200
with message-id <1209975805.012171.28753.nullmailer@xanadu.blop.info>
and subject line initrd-tools has been removed from Debian, closing #285318
has caused the Debian Bug report #285318,
regarding leave busybox shell to continue booting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
285318: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285318
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initrd-tools
Version: 0.1.75
Severity: wishlist


Below you can find a small patch to cleanup code and to
allow it to continue the boot procedure by leaving the
busybox shell. Without this the busybox shell is pretty
useless, isn't it?


Regards

Harri
--- init~	2004-09-18 13:17:34.000000000 +0200
+++ init	2004-12-12 15:23:14.570249964 +0100
@@ -345,6 +345,27 @@
 	. "$@"
 }
 
+ask4shell() {
+	local timout
+	local pid
+	local line
+
+	trap "timeout=yes" USR1
+
+	echo "Waiting for $DELAY seconds, press ENTER to obtain a shell."
+	{ sleep $DELAY; kill -USR1 $$ 2> /dev/null; }&
+	pid=$!
+	read line
+	trap "" USR1
+	kill $pid
+	wait
+
+	if [ ! "$timeout" ]; then
+		echo "Press ^D to proceed"
+		sh
+	fi
+}
+
 export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/bin2
 
 . /linuxrc.conf
@@ -376,18 +397,7 @@
 call /loadmodules
 
 if [ $DELAY -gt 0 ]; then
-	echo "Waiting for $DELAY seconds, press ENTER to obtain a shell."
-
-	trap "timeout=yes" USR1
-	timeout=
-	{ sleep $DELAY; kill -USR1 $$ 2> /dev/null; }&
-	pid=$!
-	read line
-	trap "" USR1
-	kill $pid
-	wait
-
-	[ $timeout ] || exec sh
+	ask4shell
 fi
 
 call /script

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: 0.1.84.2+rm

The initrd-tools package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/393092 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.
-- 
Lucas


--- End Message ---

Reply to: