Module Name:    src
Committed By:   jmcneill
Date:           Thu Feb 12 10:59:44 UTC 2015

Modified Files:
        src/distrib/utils/embedded/conf: rpi.conf

Log Message:
actually write cpufreq changes to ${mnt}/etc/rc.local instead of /tmp/a


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/distrib/utils/embedded/conf/rpi.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/utils/embedded/conf/rpi.conf
diff -u src/distrib/utils/embedded/conf/rpi.conf:1.25 src/distrib/utils/embedded/conf/rpi.conf:1.26
--- src/distrib/utils/embedded/conf/rpi.conf:1.25	Fri Feb  6 15:15:01 2015
+++ src/distrib/utils/embedded/conf/rpi.conf	Thu Feb 12 10:59:44 2015
@@ -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 @@ EOF
 	# 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)

Reply via email to