mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-01 20:05:48 +01:00
Update iNB.sh
This commit is contained in:
2
iNB.sh
2
iNB.sh
@@ -38,7 +38,7 @@ unzip -qn ./neoboot.zip
|
|||||||
rm -f /tmp/neoboot.zip
|
rm -f /tmp/neoboot.zip
|
||||||
[ -e /tmp/main.zip ] && rm -rf /tmp/main.zip
|
[ -e /tmp/main.zip ] && rm -rf /tmp/main.zip
|
||||||
BOXHOSTNAME=$( cat /etc/hostname)
|
BOXHOSTNAME=$( cat /etc/hostname)
|
||||||
if [ $BOXHOSTNAME = "dm500hd" ] || [ $BOXHOSTNAME = dm800se" ] || [ $BOXHOSTNAME = "dm800" ] || [ $BOXHOSTNAME = "dm8000" ]; then
|
if [ $BOXHOSTNAME = "dm500hd" ] || [ $BOXHOSTNAME = "dm800se" ] || [ $BOXHOSTNAME = "dm800" ] || [ $BOXHOSTNAME = "dm8000" ]; then
|
||||||
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*
|
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
|
fi
|
||||||
#kopiowanie
|
#kopiowanie
|
||||||
|
|||||||
Reference in New Issue
Block a user