Activate Wake on LAN (for CS) again (ybug 455)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@418 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
yjogol
2010-02-26 05:59:54 +00:00
parent f4f390e550
commit 28dd71ff97
4 changed files with 11 additions and 6 deletions

View File

@@ -436,7 +436,13 @@ proc()
# -----------------------------------------------------------
wol()
{
msg=`etherwake $1`
if [ -e /bin/etherwake ]; then
msg=`etherwake $1`
else
if [ -e /bin/ether-wake ]; then
msg=`ether-wake $1`
fi
fi
msg="<b>Wake on LAN $1</b><br><br>$msg"
y_format_message_html
}