On Sat, 2011-09-03 at 16:09 -0500, Robert E. Wooden wrote: > I have worked on this issue in the past for myself. Never really got it > completed. However, your email has me interested again and this is good > weekend to work on this.
I've had it working for a year or so with the following setup:
In the file /etc/sudoers add the following lines:
Cmnd_Alias WOL = /usr/bin/wakeonlan,/usr/sbin/etherwake
backuppc ALL=(root) NOPASSWD:WOL
And change the pingcmd for the hosts to the following line:
$Conf{PingCmd} = '/usr/local/bin/wakeup.sh $host';
I've also attached a slightly edited version of the script I use to fire
off the WoL packets.
--
Tim Fletcher <[email protected]>
wakeup.sh
Description: application/shellscript
------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
