[Pkg-sysvinit-devel] Bug#402877: initscripts: should try to kexec

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Dec 13 11:07:01 CET 2006


Package: initscripts
Version: 2.86.ds1-36
Severity: wishlist
Tags: patch

Hi,

It would be useful to have /etc/init.d/reboot try to run kexec if it is
available:

 	# Message should end with a newline since kFreeBSD may
 	# print more stuff (see #323749)
 	log_action_msg "Will now restart"
+	[ -x /sbin/kexec ] && /sbin/kexec -e
 	reboot -d -f -i
 }

Samuel

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages initscripts depends on:
ii  debianut 2.17                            Miscellaneous utilities specific t
ii  e2fsprog 1.39+1.40-WIP-2006.11.14+dfsg-1 ext2 file system utilities and lib
ii  libc6    2.3.6.ds1-8                     GNU C Library: Shared libraries
ii  lsb-base 3.1-22                          Linux Standard Base 3.1 init scrip
ii  mount    2.12r-15                        Tools for mounting and manipulatin
ii  sysvinit 2.86.ds1-36                     System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.3-1     Utilities that use the proc filesy

-- no debconf information




More information about the Pkg-sysvinit-devel mailing list