diff --git a/tools/setup_sdcard.sh b/tools/setup_sdcard.sh index 312bbdb6be36868c94388b88d87f9de08ca707c9..ee4a941445de1b0f179d80db25356a31ed2d227a 100755 --- a/tools/setup_sdcard.sh +++ b/tools/setup_sdcard.sh @@ -1531,6 +1531,10 @@ populate_rootfs () { echo "# BeagleBone: net device ()" >> ${TEMPDIR}/disk${file} echo "SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"cpsw\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth0\"" >> ${TEMPDIR}/disk${file} echo "" >> ${TEMPDIR}/disk${file} + + if [ -f ${TEMPDIR}/disk/etc/init.d/cpufrequtils ] ; then + sed -i 's/GOVERNOR="ondemand"/GOVERNOR="performance"/g' ${TEMPDIR}/disk/etc/init.d/cpufrequtils + fi fi if [ ! -f ${TEMPDIR}/disk/opt/scripts/boot/generic-startup.sh ] ; then