[Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend

Peter Robinson pbrobinson at gmail.com
Tue May 1 12:06:18 EDT 2012


On Tue, May 1, 2012 at 3:55 PM, Ajay Garg <ajay at activitycentral.com> wrote:
> which actually brings me back to my original question ::
>
> """
> Why is it so that putting the 'disable-mesh-script' in the 'start()' method
> of '/etc/init.d/Networkmanager' works (always) for (re)boot; but never works
> for resume-upon-suspend?
> """

Because on suspend/resume the NetworkManager service isn't
started/restarted so the script in /etc/init.d isn't run where as on
reboot it is. There's means though to run specific scripts on
suspend/resume if that sort of thing is necessary.

Peter



More information about the Devel mailing list