Skip to content

Commit

Permalink
Delete invalid file and log
Browse files Browse the repository at this point in the history
  • Loading branch information
destan19 committed Nov 29, 2022
1 parent fd21eb3 commit 11426bd
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 378 deletions.
2 changes: 0 additions & 2 deletions oaf/src/app_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1204,10 +1204,8 @@ int netlink_oaf_init(void)

static int __init app_filter_init(void)
{
printk("appfilter version:" AF_VERSION "\n");
if (0 != load_feature_config())
{
printk("load feature failed\n");
return -1;
}

Expand Down
4 changes: 0 additions & 4 deletions open-app-filter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ PKG_VERSION:=5.0.2
PKG_RELEASE:=1

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)


include $(INCLUDE_DIR)/package.mk
#include $(INCLUDE_DIR)/kernel.mk

define Package/appfilter
SECTION:=Derry Apps
Expand Down Expand Up @@ -42,7 +39,6 @@ endef


define Package/appfilter/install
echo "install"
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/appfilter
$(INSTALL_DIR) $(1)/etc/config
Expand Down
3 changes: 1 addition & 2 deletions open-app-filter/files/appfilter.init
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ stop_service(){

start_service(){
local update
#lang=`uci get luci.main.lang`
rm $FEATURE_FILE
update=`uci get appfilter.feature.update`
if [ x"1" == x"$update" ];then
ln -s /etc/appfilter/feature.cfg $FEATURE_FILE
else
uci get luci.languages.zh_cn >/dev/null
uci get luci.languages.zh_cn >/dev/null 2>&1
if [ $? -eq 0 ];then
test -f $FEATURE_FILE && rm $FEATURE_FILE
ln -s /etc/appfilter/feature_cn.cfg $FEATURE_FILE
Expand Down
262 changes: 0 additions & 262 deletions open-app-filter/files/appfilter.lua

This file was deleted.

88 changes: 0 additions & 88 deletions open-app-filter/files/appfilter.sh

This file was deleted.

Loading

0 comments on commit 11426bd

Please sign in to comment.