[ltp] Re: Question on ifplugd and ACPI suspend
Bob Alexander
linux-thinkpad@linux-thinkpad.org
Thu, 29 Sep 2005 09:05:22 +0000
Shannon McMackin wrote:
> Looking at your /etc/hibernate/hibernate.conf, you should have a section
> for starting and stopping services. Add ifplugd and any other network
> applets like NetworkManager. This will allow them to be stopped and
> started through the hibernate cycle.
>
Arigato Shannon-san :)
This is the idea I needed.
Looking at the scripts I see two different ways to handle this:
1) ### network
# DownInterfaces eth0
# UpInterfaces auto
2) ### services
# RestartServices postfix
# StopServices alsasound
# StartServices aumix
I guess method 2 (StopServices ifplugd and StartServices ifplugd) is the
best since case 1 could try bringing up eth0 after resuming while my
laptop is not connected.
Any comments ?
Take care,
Bob