From 9a1dcbda5102a31409427b723e43a06351d18e30 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 23 Feb 2022 17:33:41 +0200 Subject: [PATCH] Update iNB.sh --- iNB.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/iNB.sh b/iNB.sh index 1b47e9b..f97bd36 100644 --- a/iNB.sh +++ b/iNB.sh @@ -12,9 +12,6 @@ elif [ -f /etc/opkg/opkg.conf ] ; then STATUS='/var/lib/opkg/status' OS='Opensource' fi -#if [ -e /etc/name ]; then - #rm -rf /etc/name -#fi [ -e /tmp/neoboot.zip ] && rm -f /tmp/neoboot.zip [ -e /tmp/neoboot-main ] && rm -rf /tmp/neoboot-main [ $PL ] && echo "Pobieranie archiwum..." || echo "Downloading archive file..." @@ -56,7 +53,9 @@ chmod 755 ./ex_init.py chmod 755 ./files/*.sh chmod -R +x ./ubi_reader_arm/* chmod -R +x ./ubi_reader_mips/* -rm -f /tmp/.* +if [ -e /etc/name ]; then + rm -f /tmp/.* +fi if [ $PL ] ; then echo "" echo "#####################################################"