Bug#590895: sysvinit: shutdown -hP sets INIT_HALT to POWERDOWN not POWEROFF

2018-07-15 Thread Geoff Clare
I see that bugs.debian.org says this bug is "No longer marked as found in versions sysvinit/2.86.ds1-61." However, the bug is still present in sysvinit 2.88 as can be seen from: https://sources.debian.org/src/sysvinit/2.88dsf-59.10/src/shutdown.c/#L518 case 'P': halttype

Bug#590895: sysvinit: shutdown -hP sets INIT_HALT to POWERDOWN not POWEROFF

2010-07-29 Thread Rob Donovan
Package: sysvinit Version: 2.86.ds1-61 Severity: normal The shutdown man page says that the -P option will set the INIT_HALT variable to POWEROFF. However, echo statements placed at the top of do_stop() in /etc/init.d/halt reveal that this variable is set to POWERDOWN. Assuming nothing