- 从Release下载
luci-app-poweroff_xxx.ipk
包 - 上传ipk包至路由器
- 使用opkg安装
opkg install luci-app-poweroff_*.ipk
提供中文语言包
- 若需要中文语言包,从Release下载
luci-i18n-poweroff-zh-cn_xxx.ipk
包,上传至路由器安装 - 上传ipk包至路由器
- 使用opkg安装
opkg install luci-i18n-poweroff-zh-cn_*.ipk
从OpenWrt源码编译
git clone https://github.com/openwrt/openwrt.git
# 在OpenWrt根目录执行
./scripts/feeds update -a
./scripts/feeds install -a
# 在OpenWrt根目录执行
cd ./package/feeds/luci/applications
git clone https://github.com/DongyangHu/luci-app-poweroff.git
# 在OpenWrt根目录执行
make menuconfig
# 选择要编译的包 LuCI -> Applications -> luci-app-poweroff
make package/feeds/luci/applications/luci-app-poweroff/compile V=99
luci-app-poweroff is licensed under Apache-2.0