This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 382
作者能否增加网络唤醒的插件? #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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
如题~~~
The text was updated successfully, but these errors were encountered: