altra64/tools/deploy-sd.sh

22 lines
564 B
Bash
Raw Normal View History

2017-10-06 09:48:52 -04:00
#
# Copyright (c) 2017 The Altra64 project contributors
# Portions (c) 2013 saturnu (Alt64) based on libdragon, Neo64Menu, ED64IO, libn64-hkz, libmikmod
# See LICENSE file in the project root for full license information.
#
2014-06-29 01:10:11 -04:00
#! /bin/bash
sudo mount /dev/sdb1 /mnt
file=/mnt/ED64/OS64.v64
if [ -e $file ]
then
echo -e "File $file exists - mount ok"
echo -e "copy..."
sudo cp ../bin/OS64.v64 /mnt/ED64/
sudo cp ../res/ALT64.INI /mnt/ED64/
2014-06-29 01:10:11 -04:00
echo -e "umounting..."
sudo umount /mnt
echo -e "done..."
else
echo -e "File $file doesnt exists - sdcard problem?"
fi