mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
add docker all feeds soft
This commit is contained in:
parent
4ff1102a1a
commit
4b2ee656b7
178 changed files with 15534 additions and 0 deletions
26
luci-app-usb-printer/luasrc/controller/usb_printer.lua
Normal file
26
luci-app-usb-printer/luasrc/controller/usb_printer.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
--[[
|
||||
LuCI - Lua Configuration Interface
|
||||
|
||||
Copyright 2008 Steven Barth <steven@midlink.org>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
$Id$
|
||||
]]--
|
||||
|
||||
require("luci.sys")
|
||||
|
||||
module("luci.controller.usb_printer", package.seeall)
|
||||
|
||||
function index()
|
||||
if not nixio.fs.access("/etc/config/usb_printer") then
|
||||
return
|
||||
end
|
||||
|
||||
entry({"admin", "nas"}, firstchild(), "NAS", 44).dependent = false
|
||||
entry({"admin", "nas", "usb_printer"}, cbi("usb_printer"), _("USB Printer Server"), 50)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue