[mythtv-users] wakeonlan the backend at boot from a client
Yves de Brauer
ydebx2 at free.fr
Mon Nov 26 19:25:22 UTC 2007
Yves de Brauer a écrit :
> Boleslaw Ciesielski a écrit :
>> Yves de Brauer wrote:
>>> Boleslaw Ciesielski a écrit :
>>>> On Fedora you can create the /sbin/ifup-local script, which will be
>>>> called with the name of the interface when this interface is brought up.
>>>> See /etc/sysconfig/network-scripts/ifup-post for details.
>>> Could you be more precise. How it is called during boot up ? And what to
>>> change ?
>> Did you look at ifup-post? Towards the end you will see how it's calling
>> ifup-local. Just add the call to ether-wake to ifup-local (create one if
>> it doesn't exist).
> Ok. I have made some tests. ifup-post is called twice at boot time.
> ifup-local does not!
> I'll see that later.
Oups! I have forgoten to change the attributes of file
"/sbin/ifup-local" so that it is executable
Now it is run. I have to check if it send the wakeonlan correctly (but
right now it is in use by the other people of the family :o)
More information about the mythtv-users