#! /bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
#activate WakeOnLAN
grep -q 'on' /proc/stb/power/wol
if [ 0 -eq 0 ]
then
	echo [WOL] activate WakeOnLAN at device eth0
	ethtool -s eth0 wol g
else
	echo [WOL] WakeOnLAN is not enabled
fi
: exit 0
