forked from destan19/OpenAppFilter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Derry
committed
Jun 28, 2019
1 parent
14c3ef1
commit 6e7c737
Showing
27 changed files
with
3,589 additions
and
368 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
# | ||
# This is free software, licensed under the Apache License, Version 2.0 . | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
LUCI_TITLE:=Open App Filter Module | ||
LUCI_PKGARCH:=all | ||
PKG_NAME:=luci-app-oaf | ||
PKG_VERSION:=1.0 | ||
PKG_RELEASE:=1 | ||
include $(TOPDIR)/feeds/luci/luci.mk | ||
# call BuildPackage - OpenWrt buildroot signature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module("luci.controller.appfilter", package.seeall) | ||
|
||
function index() | ||
if not nixio.fs.access("/etc/config/appfilter") then | ||
return | ||
end | ||
|
||
local page | ||
|
||
page = entry({"admin", "network", "appfilter"}, cbi("appfilter/appfilter"), _("appfilter")) | ||
page.dependent = true | ||
end |
Oops, something went wrong.