Skip to content

sirpdboy/luci-app-poweroffdevice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

若部分图片无法正常显示,请挂上机场浏览或点这里到末尾看修复教程 图飞了😂

screenshots

认真阅读完毕 本页面,本页面包含注意事项和如何使用。

poweroffdevice是一款基于OPNEWRT编译的关机源码插件。

写在前面:


-这个关机功能最早使用者是KOOLSHARE的固件。苦于OPENWRT中没有关机补丁,有感于前辈们的付出,苦思2020年4月动手在OPENWRT上首次使用此插件,此源码源于官方源码重启的源码修改而来. 之前一直有朋友在问,怎么使用关机插件,关机插件是有二种使用方式。一种是下载插件编译,这相对来说占用资源多一点,另一种就是在系统的源码上修改。

使用说明

将poweroffdevice关机功能 添加至 LEDE/OpenWRT 源码的二种方法。

使用关机功能方法一:

标准方法使用关机插件。

   # 下载源码
   
   git clone https://github.com/sirpdboy/luci-app-poweroffdevice package/luci-app-poweroffdevice
   
   make menuconfig
   # 配置菜单
   make menuconfig
   # 找到 LuCI -> Applications, 选择 luci-app-poweroffdevice, 保存后退出。
   # 编译固件
   make package/luci-app-poweroffdevice/{clean,compile} V=s

使用关机功能方法二【推荐此方法】:

系统的源码上修改,集成到系统源码菜单中,不需要另外选择和设置即可使用关机功能

   #在编译前,运行如下二条命令,集成到系统源码菜单中,不需要另外选择和设置即可使用关机功能。
   cd openwrt #进入源码目录
   curl -fsSL  https://raw.githubusercontent.com/sirpdboy/other/master/patch/poweroff/poweroff.htm > ./feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_system/poweroff.htm 
   curl -fsSL  https://raw.githubusercontent.com/sirpdboy/other/master/patch/poweroff/system.lua > ./feeds/luci/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua

screenshots

说明

源码来源:https://github.com/sirpdboy/luci-app-poweroffdevice

使用与授权相关说明

  • 本人开源的所有源码,任何引用需注明本处出处,如需修改二次发布必告之本人,未经许可不得做于任何商用用途。

My other project

捐助

screenshots

图飞了😂 图飞了😂
xm1 xm1
图飞了😂

About

luci-app-poweroffdevice 1.3 关机功能插件,OPENWRT 关机功能插件 最早先发布,稳定,无问题。

Resources

Stars

Watchers

Forks

Packages

No packages published