Update iNB.sh

This commit is contained in:
gutosie
2022-02-25 09:35:20 +02:00
committed by GitHub
parent fce6e45d3c
commit 4e0281e740

2
iNB.sh
View File

@@ -39,7 +39,7 @@ rm -f /tmp/neoboot.zip
[ -e /tmp/main.zip ] && rm -rf /tmp/main.zip
BOXHOSTNAME=$( cat /etc/hostname)
if [ $BOXHOSTNAME = "dm500hd" ] || [ $BOXHOSTNAME = dm800se" ] || [ $BOXHOSTNAME = "dm800" ] || [ $BOXHOSTNAME = "dm8000" ]; then
cp -af /tmp/NeoBoot/tmpfiles/runpy/mips_run.py /tmp/NeoBoot/run.py; rm -r /tmp/NeoBoot/ubi_reader*; rm -r /tmp/NeoBoot/tmpfiles; rm -r /tmp/NeoBoot/bin/neoinitar*; rm -r /tmp/NeoBoot/bin/nanddump*; rm -r /tmp/NeoBoot/bin/fbcle*
cp -af /tmp/neoboot-main/NeoBoot/tmpfiles/runpy/mips_run.py /tmp/neoboot-main/NeoBoot/run.py; rm -r /tmp/neoboot-main/NeoBoot/ubi_reader*; rm -r /tmp/neoboot-main/NeoBoot/tmpfiles; rm -r /tmp/neoboot-main/NeoBoot/bin/neoinitar*; rm -r /tmp/neoboot-main/NeoBoot/bin/nanddump*; rm -r /tmp/neoboot-main/NeoBoot/bin/fbcle*
fi
#kopiowanie
if [ -e $Cel/NeoBoot/.location ]; then