Print this page
2594 implement graceful shutdown for local zones in zoneadm

@@ -21,10 +21,11 @@
  CDDL HEADER END
 
  Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
 
  DO NOT EDIT THIS FILE.
+ Copyright 2014 Nexenta Systems, Inc. All rights reserved.
 -->
 
 <!DOCTYPE brand PUBLIC "-//Sun Microsystems Inc//DTD Brands//EN"
     "file:///usr/share/lib/xml/dtd/brand.dtd.1">
 

@@ -41,10 +42,11 @@
         <install>/usr/lib/brand/ipkg/pkgcreatezone -z %z -R %R</install>
         <installopts>a:c:d:e:hk:P:p:suv</installopts>
         <boot></boot>
         <sysboot>/usr/lib/brand/ipkg/prestate %z %R 2 0</sysboot>
         <halt></halt>
+        <shutdown>/usr/sbin/shutdown -y -g0 -i5</shutdown>
         <verify_cfg></verify_cfg>
         <verify_adm></verify_adm>
         <postclone></postclone>
         <postinstall></postinstall>
         <attach>/usr/lib/brand/ipkg/attach %z %R</attach>