Print this page
XXX Remove nawk(1)

*** 28,38 **** # Return a list of running, non-global zones for which a shutdown via # "/sbin/init 0" may work (typically only Solaris zones.) # shutdown_zones() { ! zoneadm list -p | nawk -F: '{ if ($2 != "global") { print $2 } }' } --- 28,38 ---- # Return a list of running, non-global zones for which a shutdown via # "/sbin/init 0" may work (typically only Solaris zones.) # shutdown_zones() { ! zoneadm list -p | /usr/xpg4/bin/awk -F: '{ if ($2 != "global") { print $2 } }' }
*** 55,65 **** # # Boot the installed zones for which the "autoboot" zone property is # set and invoke the sysboot hook for all other installed zones. # ZONES="" ! for zone in `zoneadm list -pi | nawk -F: '{ if ($3 == "installed") { print $2 } }'`; do zonecfg -z $zone info autoboot | grep "true" >/dev/null 2>&1 --- 55,65 ---- # # Boot the installed zones for which the "autoboot" zone property is # set and invoke the sysboot hook for all other installed zones. # ZONES="" ! for zone in `zoneadm list -pi | /usr/xpg4/bin/awk -F: '{ if ($3 == "installed") { print $2 } }'`; do zonecfg -z $zone info autoboot | grep "true" >/dev/null 2>&1