projects
/
vuplus_openvuplus
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[hbbtv] fix UI position
[vuplus_openvuplus]
/
meta-openvuplus
/
recipes-vuplus
/
vuplus-coldboot
/
vuplus-coldboot
/
ethwol.sh
1
#! /bin/sh
2
#
3
# Set eth0 WOL
4
#
5
# Version: @(#)ethwol 1.00 18-Jul-2013
6
#
7
8
PATH=/sbin:/bin:/usr/sbin:/usr/bin
9
10
#activate WakeOnLAN
11
grep -q 'enable' /proc/stb/fp/wol
12
if [ $? -eq 0 ]
13
then
14
echo [WOL] activate WakeOnLAN at device eth0
15
ethtool -s eth0 wol g
16
else
17
echo [WOL] WakeOnLAN is not enabled
18
fi
19
20
: exit 0