#!/bin/bash # -------------------------------------------------------- # Script for creating ACL file for each LuCI APP sed -i \ -e 's?include \.\./\.\./\(lang\|devel\)?include $(TOPDIR)/feeds/packages/\1?' \ -e "s/\(PKG_HASH\|PKG_MD5SUM\|PKG_MIRROR_HASH\):=.*/\1:=skip/" \ -e 's?2. Clash For OpenWRT?3. Applications?' \ -e 's?\.\./\.\./luci.mk?$(TOPDIR)/feeds/luci/luci.mk?' \ -e 's/ca-certificates/ca-bundle/' \ */Makefile sed -i 's?zstd$?zstd ucl upx\n$(curdir)/upx/compile := $(curdir)/ucl/compile?g' tools/Makefile bash diy/create_acl_for_luci.sh -a >/dev/null 2>&1 bash diy/convert_translation.sh -a >/dev/null 2>&1 rm -rf create_acl_for_luci.err & rm -rf create_acl_for_luci.ok rm -rf create_acl_for_luci.warn exit 0