1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 13:36:52 +02:00

Added some diagnostic for intstalling from USB

This commit is contained in:
mvoelkel 2015-10-07 15:06:26 +02:00
parent 30c2280256
commit 3ed3576728

View File

@ -19,9 +19,12 @@ case "$1" in
if [ "$img" = "" ]; then
sleep 5
if [ -e /dev/sda1 ]; then
mount /dev/sda1 /mnt
cp /mnt/octonet.*.img /config
umount /mnt
mount -r /dev/sda1 /mnt
ls -l --color=never /mnt
cp /mnt/octonet.*.img /config
ls -l --color=never /config
sha256sum /config/octonet.*.img
umount /mnt
fi
fi