]> git.saurik.com Git - apple/configd.git/blobdiff - scutil.tproj/commands.c
configd-699.1.5.tar.gz
[apple/configd.git] / scutil.tproj / commands.c
index 5b93ff67c80a3fbab654151e630db6b46095776a..d29719e77c48b06b80f562b007ae9fb2d9caec0e 100644 (file)
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) 2000-2011 Apple Inc. All rights reserved.
+ * Copyright (c) 2000-2011, 2013, 2014 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
- * 
+ *
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
  * compliance with the License. Please obtain a copy of the License at
  * http://www.opensource.apple.com/apsl/ and read it before using this
  * file.
- * 
+ *
  * The Original Code and all software distributed under the License are
  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
@@ -17,7 +17,7 @@
  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  * Please see the License for the specific language governing rights and
  * limitations under the License.
- * 
+ *
  * @APPLE_LICENSE_HEADER_END@
  */
 
@@ -195,6 +195,10 @@ const cmdInfo commands_net[] = {
                " enable protocol  [ <protocolType> ]\n"
                " enable service   [ <serviceName> | <service#> ]"                              },
 
+       { "migrate",    2,      5,      do_net_migrate,         11,     0,
+               " migrate perform <old-configuration> <new-configuration> [<current-configuration>]\n"
+               " migrate validate <configuration> <expected-configuration>"},
+
        { "remove",     1,      2,      do_net_remove,          6,      0,
                " remove protocol  [ <protocolType> ]\n"
                " remove service   [ <serviceName> | <service#> ]\n"
@@ -209,8 +213,8 @@ const cmdInfo commands_net[] = {
        { "set",        2,      101,    do_net_set,             8,      0,
                " set interface context-sensitive-arguments (or ? for help)\n"
                " set protocol  context-sensitive-arguments (or ? for help)\n"
-               " set service   [ name <serviceName> ] [ order new-order ] [ rank ("" | First | Last | Never) [temp] ]\n"
-               " set set       [ name setName ] | [ current ]"                                 },
+               " set service   [ name <serviceName> ] [ order new-order ] [ rank ("" | First | Last | Never | Scoped ) [temp] ] [ id <serviceID> ]\n"
+               " set set       [ name setName ] | [ current ] [ id <setID> ]"                  },
 
        { "show",       1,      2,      do_net_show,            9,      0,
                " show interfaces\n"