diff options
Diffstat (limited to 'utils/ypr0tools/rockbox.sh')
-rwxr-xr-x | utils/ypr0tools/rockbox.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/ypr0tools/rockbox.sh b/utils/ypr0tools/rockbox.sh index 665ee9f97c..85e1b43533 100755 --- a/utils/ypr0tools/rockbox.sh +++ b/utils/ypr0tools/rockbox.sh | |||
@@ -1,4 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | ###################################################################### | 1 | ###################################################################### |
3 | # __________ __ ___. | 2 | # __________ __ ___. |
4 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | 3 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
@@ -44,6 +43,13 @@ echo "95" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold | |||
44 | mount --bind /mnt/media0/.rockbox /.rockbox | 43 | mount --bind /mnt/media0/.rockbox /.rockbox |
45 | mount --bind /mnt/media0/Playlists /Playlists | 44 | mount --bind /mnt/media0/Playlists /Playlists |
46 | 45 | ||
46 | # replace Samsung's si470x.ko with our si4709.ko to support fm radio | ||
47 | if [ -e /lib/modules/si4709.ko ] | ||
48 | then | ||
49 | rmmod /lib/modules/si470x.ko | ||
50 | insmod /lib/modules/si4709.ko | ||
51 | fi | ||
52 | |||
47 | MAINFILE="/mnt/media0/.rockbox/rockbox" | 53 | MAINFILE="/mnt/media0/.rockbox/rockbox" |
48 | MAINFILE_ARGV='' | 54 | MAINFILE_ARGV='' |
49 | MAINFILE_REDIRECT='>/dev/null 2>&1' | 55 | MAINFILE_REDIRECT='>/dev/null 2>&1' |