Skip to content

DongyangHu/luci-app-poweroff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luci-app-poweroff

GitHub release GitHub Releases Downloads

README | 中文文档

What's luci-app-poweroff

  • This is a Luci support for poweroff in OpenWrt, allow users to shut down their devices.
  • Compile based on OpenWrt source code, support Lede / Official OpenWrt

Quick Start

Main Application

  • Download the package what name is luci-app-poweroff_xxx.ipk from Release
  • Upload the ipk package to your router
  • Install ipk package use opkg install command
opkg install luci-app-poweroff_*.ipk

I18n

There is a Chinese language pack provided

  • If you need, please Download the package what name is luci-i18n-poweroff-zh-cn_xxx.ipk from Release
  • Upload the ipk package to your router
  • Install ipk package use opkg install command
opkg install luci-i18n-poweroff-zh-cn_*.ipk

Compile

Compile based on OpenWrt source code

Download Source Code Of OpenWrt

git clone https://github.com/openwrt/openwrt.git

Update Feeds

# Execute it in OpenWrt root directory
./scripts/feeds update -a
./scripts/feeds install -a

Sync Source Code For Project

# Execute it in OpenWrt root directory
cd ./package/feeds/luci/applications
git clone https://github.com/DongyangHu/luci-app-poweroff.git

Do Compile

# Execute it in OpenWrt root directory
make menuconfig
# Select the package to be compiled. LuCI -> Applications -> luci-app-poweroff
make package/feeds/luci/applications/luci-app-poweroff/compile V=99

LICENSE

luci-app-poweroff is licensed under Apache-2.0