9.04 at shutdown: netwerk card off

Carl Friis-Hansen ubuntuuser at carl-fh.com
Wed Jul 8 13:22:36 UTC 2009


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