Package: sysvinit
Version: 2.86.ds1-1
Tags: patch
While reviewing sysvinit patches from ubuntu, I came across this
recent change.
sysvinit (2.86.ds1-1.1ubuntu6) breezy; urgency=low
* Make -H work correctly and end up with system halted rather than
dumping the user into single user mode.
-- Tollef Fog Heen <[EMAIL PROTECTED]> Mon, 26 Sep 2005 12:46:46 +0200
This is the patch:
diff -rwu sysvinit-2.86.ds1-3/src/shutdown.c
sysvinit-2.86.ds1-1.1ubuntu6/src/shut
down.c
--- sysvinit-2.86.ds1-3/src/shutdown.c 2004-07-30 13:59:04.000000000 +0200
+++ sysvinit-2.86.ds1-1.1ubuntu6/src/shutdown.c 2005-10-01 08:44:55.000000000
+020
0
@@ -470,6 +470,7 @@
switch(c) {
case 'H':
halttype = "HALT";
+ down_level[0] = '0';
break;
case 'P':
halttype = "POWERDOWN";
I'm not sure if this change is correct. Should 'shutdown -H' halt the
system? The documentation might be interpreted to say so:
-H Halt action is to halt or drop into boot monitor on systems that
support it.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]