9.04 at shutdown: netwerk card off

Pieter Donche Pieter.Donche at ua.ac.be
Wed Jul 8 14:50:03 UTC 2009


I tried this already:
> halt -d -f -p -h
no difference

(also just reinstalled i386 version instead of amd64 version which I used
up to now to see if it makes a difference, no difference..)

On Wed, 8 Jul 2009, Carl Friis-Hansen wrote:

>
> On Wed, July 8, 2009 15:00, Pieter Donche wrote:
>> In /etc/init.d/halt there is, at the start
>> NETDOWN=yes
>> and further on a section
>> # Make it possible to not shut down network interfaces,
>> # needed to use wake-on-lan
>> netdown="-i"
>> if [ "$NETDOWN" = "no" ]; then
>>         netdown=""
>> fi
>>
>> I tried NETDOWN=no but still same behaviuor: NIC light goes out
>>
>> What else needs to be done?
>>
>
> In order to have more control of what is happening, I would suggest to
> execute the halt directly:
>
> halt -d -f $netdown $poweroff $hddown
>
> which in case of network down and no RAID would be:
>
> halt -d -f -i -p -h
>
> and in case of network keep on and no RAID would be:
>
> halt -d -f -p -h
> --
>                         ---------=oOOo=---------
>                           Carl Friis-Hansen
>                           http://carl-fh.com/
>                           Phone: +46 372 15033
>                         ---------=oOOo=---------
>
>




More information about the ubuntu-users mailing list