Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/postinstall rcconf_is_set takes a tuple of <script>...



details:   https://anonhg.NetBSD.org/src/rev/78b4a4b35d12
branches:  trunk
changeset: 767278:78b4a4b35d12
user:      plunky <plunky%NetBSD.org@localhost>
date:      Thu Jul 14 09:35:24 2011 +0000

description:
rcconf_is_set takes a tuple of <script> <variable>, so add
in a couple of missing script names

        network ip6forwarding
        sysctl defcorename

and remove the trailing "sysctl"

diffstat:

 usr.sbin/postinstall/postinstall |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 2a0cb156712f -r 78b4a4b35d12 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall  Thu Jul 14 09:31:19 2011 +0000
+++ b/usr.sbin/postinstall/postinstall  Thu Jul 14 09:35:24 2011 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.119 2011/07/14 09:31:19 plunky Exp $
+# $NetBSD: postinstall,v 1.120 2011/07/14 09:35:24 plunky Exp $
 #
 # Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1159,14 +1159,13 @@
        set --  amd amd_master \
                btcontrol btcontrol_devices \
                critical_filesystems critical_filesystems_beforenet \
-               defcorename \
-               ip6forwarding \
                mountcritlocal mountcritremote \
+               network ip6forwarding \
                network nfsiod_flags \
                sdpd sdpd_control \
                sdpd sdpd_groupname \
                sdpd sdpd_username \
-               sysctl
+               sysctl defcorename
        while [ $# -gt 1 ]; do
                if rcconf_is_set "${op}" "$1" "$2" 1; then
                        failed=1



Home | Main Index | Thread Index | Old Index