diff options
-rwxr-xr-x | utils/ypr0tools/rockbox.sh | 7 |
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 | |||
64 | mount --bind /mnt/media0/Playlists /Playlists | 64 | mount --bind /mnt/media0/Playlists /Playlists |
65 | 65 | ||
66 | MAINFILE="/mnt/media0/.rockbox/rockbox" | 66 | MAINFILE="/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) | ||
69 | cp $MAINFILE /tmp/rockbox | ||
70 | if [ $? -eq 0 ] | ||
71 | then | ||
72 | MAINFILE="/tmp/rockbox" | ||
73 | fi | ||
67 | MAINFILE_ARGV='' | 74 | MAINFILE_ARGV='' |
68 | MAINFILE_REDIRECT='>/dev/null 2>&1' | 75 | MAINFILE_REDIRECT='>/dev/null 2>&1' |