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 append to rc.conf, don't overwrite
details: https://anonhg.NetBSD.org/src/rev/766ec20a94ed
branches: trunk
changeset: 783970:766ec20a94ed
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 13 22:08:43 2013 +0000
description:
append to rc.conf, don't overwrite
diffstat:
distrib/utils/embedded/conf/rpi.conf | 4 ++--
distrib/utils/embedded/conf/usermode.conf | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 5ae051bde5d8 -r 766ec20a94ed distrib/utils/embedded/conf/rpi.conf
--- a/distrib/utils/embedded/conf/rpi.conf Sun Jan 13 21:52:42 2013 +0000
+++ b/distrib/utils/embedded/conf/rpi.conf Sun Jan 13 22:08:43 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rpi.conf,v 1.4 2013/01/13 21:52:42 christos Exp $
+# $NetBSD: rpi.conf,v 1.5 2013/01/13 22:08:43 christos Exp $
# Raspberry PI customization script used by mkimage
#
image=$HOME/rpi.img
@@ -87,7 +87,7 @@
customize() {
- ${sudo} cat > ${mnt}/etc/rc.conf << EOF
+ ${sudo} cat >> ${mnt}/etc/rc.conf << EOF
sshd=YES
dhcpcd=YES
mdnsd=YES
diff -r 5ae051bde5d8 -r 766ec20a94ed distrib/utils/embedded/conf/usermode.conf
--- a/distrib/utils/embedded/conf/usermode.conf Sun Jan 13 21:52:42 2013 +0000
+++ b/distrib/utils/embedded/conf/usermode.conf Sun Jan 13 22:08:43 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: usermode.conf,v 1.1 2013/01/13 20:57:18 christos Exp $
+# $NetBSD: usermode.conf,v 1.2 2013/01/13 22:08:43 christos Exp $
# NetBSD/usermode customization script used by mkimage
custom=custom
image=usermode.img
@@ -37,7 +37,7 @@
}
customize() {
-${sudo} cat > ${mnt}/etc/rc.conf << EOF
+${sudo} cat >> ${mnt}/etc/rc.conf << EOF
# make sure we have the right rw filesystem at boot
critical_filesystems_local="/var.cow /var /etc.cow /etc /root.cow /root"
Home |
Main Index |
Thread Index |
Old Index