Starting br0 device after waking from suspend

Nick Urbanik nicku at nicku.org
Wed Nov 10 08:59:58 UTC 2010


Dear Tim,

On 10/11/10 07:34 +1030, Tim wrote:
>On Wed, 2010-11-10 at 07:20 +1100, Nick Urbanik wrote:
>> Does anyone have any suggestions towards automating a solution?
>
>Perhaps with a script in:  /etc/pm/sleep.d/
>
>#!/bin/bash
>case "$1" in
>        thaw|resume)
>                /sbin/ifup br0
>                ;;
>        *)
>                ;;
>esac
>exit $?

Thank you very much for this.  You have taught me to look in a new
place (/etc/pm/sleep.d) of which I was not previously aware!  I really
appreciate your help here.
-- 
Nick Urbanik             http://nicku.org           nicku at nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24


More information about the users mailing list