Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/conf actually write cpufreq changes t...
details: https://anonhg.NetBSD.org/src/rev/82a814fcceef
branches: trunk
changeset: 336100:82a814fcceef
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Feb 12 10:59:44 2015 +0000
description:
actually write cpufreq changes to ${mnt}/etc/rc.local instead of /tmp/a
diffstat:
distrib/utils/embedded/conf/rpi.conf | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e8721537a27b -r 82a814fcceef distrib/utils/embedded/conf/rpi.conf
--- a/distrib/utils/embedded/conf/rpi.conf Thu Feb 12 10:23:48 2015 +0000
+++ b/distrib/utils/embedded/conf/rpi.conf Thu Feb 12 10:59:44 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rpi.conf,v 1.25 2015/02/06 15:15:01 jmcneill Exp $
+# $NetBSD: rpi.conf,v 1.26 2015/02/12 10:59:44 jmcneill Exp $
# Raspberry Pi customization script used by mkimage
#
@@ -34,7 +34,7 @@
# to match at boot time.
#
cp ${release}/etc/rc.local ${mnt}/etc/rc.local
- cat > /tmp/a << EOF
+ cat >> ${mnt}/etc/rc.local << EOF
if /sbin/sysctl -q machdep.cpu.frequency.max; then
cpufreq_max=\$(/sbin/sysctl -n machdep.cpu.frequency.max)
cpufreq_cur=\$(/sbin/sysctl -n machdep.cpu.frequency.current)
Home |
Main Index |
Thread Index |
Old Index