Lines Matching defs:strategy
33 * 0 - if the program successfully determined the net strategy.
37 * stdout: <root fs type> <interface name> <net config strategy>.
41 * <net config strategy> - "dhcp", "rarp", "bootprops"
53 * <net config strategy> can be either "rarp", "dhcp", "bootprops", or
54 * "none" depending on which strategy was used to configure the
56 * net-based strategy.
257 char *root, *interface, *strategy, dummy;
261 root = interface = strategy = NULL;
277 strategy = "bootprops";
287 (void) printf("%s %s %s\n", root, interface, strategy);
298 strategy = "dhcp";
301 (void) printf("%s %s %s\n", root, interface, strategy);
330 strategy = "dhcp";
339 if (strategy == NULL)
340 strategy = "rarp"; /* must be rarp/bootparams */
342 if (interface == NULL || strategy == NULL)
343 interface = strategy = "none";
346 (void) printf("%s %s %s\n", root, interface, strategy);