Commit 90968520 authored by Julian Schuh's avatar Julian Schuh
Browse files

add delete script for unwanted devices

parent 8da68ede
Pipeline #364 passed with stage
in 2 minutes and 2 seconds
FROM debian:9
ADD del.sh unwanted_devices /
RUN apt-get update \
&& apt-get install -y git subversion python build-essential gawk unzip libz-dev libncurses-dev libssl-dev time curl wget ecdsautils \
&& apt-get clean
while read -r FILE
do
if [ "x$FILE" = "x" ]; then
continue
fi
FOUND="$(find . -iname "$FILE" -iwholename './gluon/output/images/factory/*' -print)"
if [ "x$FOUND" != "x" ]
then
for SINGLE_FILE in $FOUND; do
echo "Deleting file $SINGLE_FILE"
rm $SINGLE_FILE
done
fi
done < /unwanted_devices
gluon-ffka-*-alfa*AP121*.bin
gluon-ffka-*-alfa*AP121U*.bin
gluon-ffka-*-alfa*Hornet-UB*.bin
gluon-ffka-*-alfa*Tube2H*.bin
gluon-ffka-*-alfa*N2*.bin
gluon-ffka-*-alfa*N5*.bin
gluon-ffka-*-d-link*DIR-615*.bin
gluon-ffka-*-linksys*WRT160NL*.bin
gluon-ffka-*-tp-link*TL-MR13U*.bin
gluon-ffka-*-tp-link*TL-MR3020*.bin
gluon-ffka-*-tp-link*TL-MR3040*.bin
gluon-ffka-*-tp-link*TL-MR3220*.bin
gluon-ffka-*-tp-link*TL-MR3420*.bin
gluon-ffka-*-tp-link*TL-WA701N*.bin
gluon-ffka-*-tp-link*TL-WA7210N*.bin
gluon-ffka-*-tp-link*TL-WA730RE*.bin
gluon-ffka-*-tp-link*TL-WA750RE*.bin
gluon-ffka-*-tp-link*TL-WA7510N*.bin
gluon-ffka-*-tp-link*TL-WA801N*.bin
gluon-ffka-*-tp-link*TL-WA830RE*.bin
gluon-ffka-*-tp-link*TL-WA850RE*.bin
gluon-ffka-*-tp-link*TL-WA860RE*.bin
gluon-ffka-*-tp-link*TL-WA901N*.bin
gluon-ffka-*-tp-link*TL-WR1043N*V1*.bin
gluon-ffka-*-tp-link*TL-WR703N*.bin
gluon-ffka-*-tp-link*TL-WR710N*.bin
gluon-ffka-*-tp-link*TL-WR740N*.bin
gluon-ffka-*-tp-link*TL-WR741N*.bin
gluon-ffka-*-tp-link*TL-WR743N*.bin
gluon-ffka-*-tp-link*TL-WR802N*.bin
gluon-ffka-*-tp-link*TL-WR810N*.bin
gluon-ffka-*-tp-link*TL-WR841N*.bin
gluon-ffka-*-tp-link*TL-WR842N*v1*.bin
gluon-ffka-*-tp-link*TL-WR842N*v2*.bin
gluon-ffka-*-tp-link*TL-WR843N*.bin
gluon-ffka-*-tp-link*TL-WR940N*.bin
gluon-ffka-*-tp-link*TL-WR941N*.bin
gluon-ffka-*-ubiquiti*AirGateway*.bin
gluon-ffka-*-ubiquiti*AirRouter*.bin
gluon-ffka-*-ubiquiti*Bullet*.bin
gluon-ffka-*-ubiquiti*Litestation*SR71*.bin
gluon-ffka-*-ubiquiti*NanoStation*Loco*M2.bin
gluon-ffka-*-ubiquiti*NanoStation*Loco*M5.bin
gluon-ffka-*-ubiquiti*NanoStation*M2.bin
gluon-ffka-*-ubiquiti*NanoStation*M5.bin
gluon-ffka-*-ubiquiti*PicoStation*.bin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment