Skip to content

Commit

Permalink
install_easy: copy files/fake for openwrt
Browse files Browse the repository at this point in the history
  • Loading branch information
bol-van committed May 30, 2022
1 parent bd45b6d commit a2f9d7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install_easy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,9 @@ copy_openwrt()
local BINDIR="$1/binaries/$ARCH"

[ -d "$2" ] || mkdir -p "$2"

mkdir "$2/tpws" "$2/nfq" "$2/ip2net" "$2/mdig" "$2/binaries" "$2/binaries/$ARCH" "$2/init.d" "$2/tmp"

mkdir "$2/tpws" "$2/nfq" "$2/ip2net" "$2/mdig" "$2/binaries" "$2/binaries/$ARCH" "$2/init.d" "$2/tmp" "$2/files"
cp -R "$1/files/fake" "$2/files"
cp -R "$1/common" "$1/ipset" "$2"
cp -R "$1/init.d/openwrt" "$2/init.d"
cp "$1/config" "$1/install_easy.sh" "$1/uninstall_easy.sh" "$1/install_bin.sh" "$1/blockcheck.sh" "$2"
Expand Down

0 comments on commit a2f9d7c

Please sign in to comment.