summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/ypr0tools/rockbox.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/ypr0tools/rockbox.sh b/utils/ypr0tools/rockbox.sh
index d86aff5d53..af750034fc 100755
--- a/utils/ypr0tools/rockbox.sh
+++ b/utils/ypr0tools/rockbox.sh
@@ -64,5 +64,12 @@ mount --bind /mnt/media0/.rockbox /.rockbox
64mount --bind /mnt/media0/Playlists /Playlists 64mount --bind /mnt/media0/Playlists /Playlists
65 65
66MAINFILE="/mnt/media0/.rockbox/rockbox" 66MAINFILE="/mnt/media0/.rockbox/rockbox"
67# Attempt to copy the executable in the /tmp directory
68# This allows an easier USB Mass Storage Mode to be achieved (file handles)
69cp $MAINFILE /tmp/rockbox
70if [ $? -eq 0 ]
71then
72 MAINFILE="/tmp/rockbox"
73fi
67MAINFILE_ARGV='' 74MAINFILE_ARGV=''
68MAINFILE_REDIRECT='>/dev/null 2>&1' 75MAINFILE_REDIRECT='>/dev/null 2>&1'