Module Name:    src
Committed By:   snj
Date:           Sat Feb 14 07:20:48 UTC 2015

Modified Files:
        src/distrib/utils/embedded/conf [netbsd-7]: rpi.conf

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #511):
        distrib/utils/embedded/conf/rpi.conf: revision 1.26
actually write cpufreq changes to ${mnt}/etc/rc.local instead of /tmp/a


To generate a diff of this commit:
cvs rdiff -u -r1.24.4.1 -r1.24.4.2 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.24.4.1 src/distrib/utils/embedded/conf/rpi.conf:1.24.4.2
--- src/distrib/utils/embedded/conf/rpi.conf:1.24.4.1	Sun Feb  8 22:09:27 2015
+++ src/distrib/utils/embedded/conf/rpi.conf	Sat Feb 14 07:20:48 2015
@@ -1,4 +1,4 @@
-# $NetBSD: rpi.conf,v 1.24.4.1 2015/02/08 22:09:27 snj Exp $
+# $NetBSD: rpi.conf,v 1.24.4.2 2015/02/14 07:20:48 snj 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