xbmc/xbmc — pull request #2895 by verybadsoldier (2013-06-19 20:24:56+00:00)
Title: Fix for SMB shares and MySQL connection after suspend

It basically is supposed to do this:

-deinitialize libsmbclient before going to sleep (Linux only)
-start and stop all addon services before and after suspend (otherwise addons are able to reinitialize SMB right before actually going to sleep and break it)
-wait for the network interface to come up when resuming from suspend (otherwise the database update might fail when using a MySQL server)

More details here:
http://forum.xbmc.org/showthread.php?tid=166430