-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
作者能否增加网络唤醒的插件? #53
Labels
enhancement
New feature or request
Comments
支持 |
同求 |
这个工具箱支持AX3600吗?599块钱的AX3600,居然连个wol功能都没用,别的牌子几十块的都可以啊。 |
同求 |
支持 |
想要 |
同求 |
应该实现不了,这要改固件吧 |
我是这么搞的 #!/bin/sh
echo "主机列表:"
# 这里填你要唤醒的主机列表 主要是执行脚本时 提示用,随便填
echo "1 [192.168.31.4]"
echo "2 [192.168.31.5]"
weak(){
read -p "请选择需要唤醒的主机[默认1]:" mac
[ -z $mac ] && mac=1
case "$mac" in
# 这里填你要唤醒的主机对应的网卡MAC地址
1) mac="00:00:00:00:00:00" ;;
2) mac="00:00:00:00:00:00" ;;
*) mac="" ;;
esac
if [ -z $mac ]
then
echo "请选择正确的主机编号"
weak
else
echo "即将唤醒主机MAC地址 "$mac
etherwake -b -D -i br-lan $mac
fi
}
weak 然后 chmod +x /etc/wol.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题~~~
The text was updated successfully, but these errors were encountered: