[Pkg-sysvinit-devel] Bug#388244: initscripts: Network interfaces
are always shut down with -i, WOL does not work then
Markus Raab
debian at markus-raab.org
Tue Sep 19 10:08:15 UTC 2006
Package: initscripts
Version: 2.86.ds1-15
Severity: wishlist
Tags: patch
WOL (wake up on lan) needs network interfaces not to shut down.
/etc/init.d/halt has -i hardcoded in it.
I would wish, to have a option in
/etc/default/halt
like:
# Shut down network interfaces, set to "no" to avoid it for WOL
NETDOWN=yes
/etc/init.d/halt needs following changes:
# Don't shut down network interfaces, when using WOL
netdown="-i"
if [ "$NETDOWN" = "no" ]
then
netdown=""
fi
and simple change halt to:
halt -d -f $netdown $poweroff $hddown
This makes upgrades of /etc/init.d/halt smoothly and this
discussion/comments may let people have a working WOL more easy.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.3
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Versions of packages initscripts depends on:
ii debianutils 2.17 Miscellaneous utilities specific t
ii e2fsprogs 1.39-1 ext2 file system utilities and lib
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii lsb-base 3.1-15 Linux Standard Base 3.1 init scrip
ii mount 2.12r-10 Tools for mounting and manipulatin
initscripts recommends no packages.
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list