[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/default/halt



Le 15/04/11 15:21, vic ros a écrit :
Bonjour,

[root@champa ~]# cat /etc/debian_version
6.0.1
[root@champa ~]# uname -a
Linux champa 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64
GNU/Linux

[root@champa ~]# cat /etc/default/halt
# Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".
HALT=poweroff
NETDOWN=no


J'ai bien spécifié NETDOWN=no, mais lorsque je fais un "shutdown -h now"
je constate que la carte réseau est éteinte et je ne peux plus faire un
wakeonlan.

Est ce que sous Debian il exis un fichier du type halt.local?

Merci pour votre aide.

Vic.


Si ta carte est eth0 : ethtool -s eth0 wol g

Ainsi tu pourras démarrer la machine via la carte réseau. Par contre, la conf est perdue à chaque démarrage. Il faut donc relancer cette commande (/etc/network/if-post-down.d/ est un bon choix).


Reply to: