2015-03-24 20:30:45 -03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ ! -d /fs/msdcard ] && [ ! -w /fs/msdcard ]
|
|
|
|
then
|
|
|
|
echo "Need to create/mount writable /fs/microsd"
|
|
|
|
echo "sudo mkdir -p /fs/msdcard"
|
|
|
|
echo "sudo chmod 777 /fs/msdcard"
|
2015-03-25 14:55:05 -03:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d /eeprom ] && [ ! -w /eeprom ]
|
|
|
|
then
|
|
|
|
echo "Need to create/mount writable /eeprom"
|
|
|
|
echo "sudo mkdir -p /eeprom"
|
|
|
|
echo "sudo chmod 777 /eeprom"
|
|
|
|
exit 1
|
2015-03-24 20:30:45 -03:00
|
|
|
fi
|
|
|
|
|
2015-04-21 21:14:52 -03:00
|
|
|
Build/posix_default.build/mainapp posix-configs/posixtest/init/rc.S
|