mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2025-01-18 22:26:12 +01:00
setting new min/max speed for cpu
This commit is contained in:
parent
88cc5caa8e
commit
005f2cccb0
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -193,8 +193,8 @@ chroot $DEST/output/sdcard /bin/bash -c "apt-get -qq -y install openssh-server c
|
|||
chroot $DEST/output/sdcard /bin/bash -c "apt-get -qq -y upgrade"
|
||||
|
||||
# configure MIN / MAX Speed for cpufrequtils
|
||||
sed -e 's/MIN_SPEED="0"/MIN_SPEED="30000"/g' -i $DEST/output/sdcard/etc/init.d/cpufrequtils
|
||||
sed -e 's/MAX_SPEED="0"/MAX_SPEED="1000000"/g' -i $DEST/output/sdcard/etc/init.d/cpufrequtils
|
||||
sed -e 's/MIN_SPEED="0"/MIN_SPEED="480000"/g' -i $DEST/output/sdcard/etc/init.d/cpufrequtils
|
||||
sed -e 's/MAX_SPEED="0"/MAX_SPEED="1010000"/g' -i $DEST/output/sdcard/etc/init.d/cpufrequtils
|
||||
|
||||
# set password to 1234
|
||||
chroot $DEST/output/sdcard /bin/bash -c "(echo 1234;echo 1234;) | passwd root"
|
||||
|
|
Loading…
Reference in a new issue