Package: kexec-tools
Version: 1.101-kdump10-2
Followup-For: Bug #378880

Hi

I checked the init scripts for kexec and they work fine, but I see a big 
problem : we must choose between normal reboot and kexec reboot (by 
editing /etc/default/kexec). I think we could add a /sbin/kexec_reboot 
shell script which could be as simple as:

#!/bin/sh
touch /tmp/kexec
reboot


and modify /etc/init.d/kexec to check for /tmp/kexec. If the file 
doesn't exists, kexec isn't launched.
There is probably a better way to do this, it's only a suggestion, 
but I think it's important to have to diffrent commands for these two 
different tasks.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-p3
Locale: LANG=fr_CA, LC_CTYPE=fr_CA (charmap=ISO-8859-1)

Versions of packages kexec-tools depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries

kexec-tools recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to