Changing IO Scheduler. Is there an rc.local type script in Sapphire?

Discussion in 'cvpcs' started by undroid, Aug 12, 2010.

  1. undroid

    undroid Member

    Joined:
    Jun 5, 2010
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    hello guys, i'm a fedora user and usually when i want to have something run at startup i would modify rc.local. Is there an equivalent in Sapphire? Where is a good place to put the following lines of commands?

    echo "noop" > /sys/block/mtdblock4/queue/scheduler
    echo "noop" > /sys/block/mtdblock6/queue/scheduler
    echo "noop" > /sys/block/mtdblock5/queue/scheduler
    echo "noop" > /sys/block/mtdblock0/queue/scheduler
     
    #1 undroid, Aug 12, 2010
    Last edited: Aug 12, 2010
  2. pdroid

    pdroid Silver Member

    Joined:
    Mar 4, 2010
    Messages:
    2,252
    Likes Received:
    7
    Trophy Points:
    103
    Location:
    Philly
    Ratings:
    +7
    Try /system/etc/init.d
     
  3. undroid

    undroid Member

    Joined:
    Jun 5, 2010
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    thank you pdroid! i just created another script named 97_iosched and made it executable and it seemed to have worked!
     
Search tags for this page
android io schedulers
,

android rc.local

,
android set io scheduler
,
change scheduler android
,
change scheduler from rc.local
,
fedora change scheduler
,
how to change io scheduler android
,
rc model enter io
,
rc.local android
,
rc.local for android