5 # This script is executed at the end of each multiuser runlevel.
6 # Make sure that the script will "exit 0" on success or any other
9 # In order to enable or disable this script just change the execution
12 # By default this script does nothing.
14 # anomen: faster switch cpu to high performance
15 #/bin/date >> /tmp/rc.local.log
16 #echo 'rc.local' >> /tmp/rc.local.log
17 #/bin/lsmod >> /tmp/rc.local.log
18 echo 60 > /sys
/devices
/system
/cpu
/cpufreq
/ondemand
/up_threshold
19 echo ondemand
> /sys
/devices
/system
/cpu
/cpu
0/cpufreq
/scaling_governor
21 # anomen: add 1wire controller, patch module to support DT?
22 #echo ds2482 0x18 > /sys/devices/soc/20804000.i2c/i2c-1/new_device
23 #echo bmp180 0x77 > /sys/devices/soc/20804000.i2c/i2c-1/new_device
26 # Print the IP address
27 _IP
=$
(hostname
-I) || true
29 printf "My IP address is %s\n" "$_IP"