File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 33#
44# This file is part of yi-hack-v5 (https://github.com/alienatedsec/yi-hack-v5).
55# Copyright (c) 2018-2019 Davide Maggioni - v4 specific
6- # Copyright (c) 2021-2023 alienatedsec - v5 specific
6+ # Copyright (c) 2021-2024 alienatedsec - v5 specific
77#
88# This program is free software: you can redistribute it and/or modify
99# it under the terms of the GNU General Public License as published by
@@ -232,6 +232,10 @@ find $TMP_DIR/home/yi-hack-v5/script/ -maxdepth 0 ! -name 'system_init.sh' -type
232232find $TMP_DIR /home/yi-hack-v5/* -maxdepth 0 -type d ! \( -name ' script' -o -name ' etc' -o -name ' lib' \) -exec rm -rf {} \;
233233find $TMP_DIR /home/yi-hack-v5/lib/ -type f ! -name ' ipc_multiplex.so' -exec rm -f {} \;
234234find $TMP_DIR /home/yi-hack-v5/* -maxdepth 0 -type f ! -name ' version' -exec rm {} +
235+
236+ # Delete the old wpa_supplicant upgrade file from the image so it wont override the release version
237+ find $TMP_DIR /home/app/ -type f -name ' wpa_supplicant' -exec rm -f {} \;
238+
235239printf " done!\n\n"
236240
237241# home
@@ -253,4 +257,3 @@ printf "done!\n\n"
253257echo " ------------------------------------------------------------------------"
254258echo " Finished!"
255259echo " ------------------------------------------------------------------------"
256-
You can’t perform that action at this time.
0 commit comments