使用斐讯N1盒子-Openwrt 执行唤醒群晖NAS脚本

群晖远程开机

#!/bin/bash

echo -e "\n\t\t\tPerforming wake up Synology NAS"
i=1
until [ ! $i -lt 6 ]
do
	echo after $i s is booting
	i=`expr $i + 1`
	sleep 1
done
echo -e "********************************\n"
/usr/bin/etherwake -D "00:11:32:C5:A5:95"
echo -e "\n******************************"
echo -e "Completed!!!\n"
echo -e "\n---Author:Levi.Zhao---\n---Data:Jan.07,2021---"

posted @ 2021-01-07 00:10  withLevi  阅读(895)  评论(0编辑  收藏  举报