(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PATH='> name:PATH) op: assign_op.Equal rhs: {<'/usr/sbin'> <Id.Lit_Colon ':'> <'/usr/bin'>} spids: [92] ) ] redirects: [] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-z>} {(DQ ($ Id.VSub_DollarName SMF_RESTARTER))} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<echo>} {(DQ <'Cannot be run outside smf(5)'>)}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [98 111] ) ] else_action: [] redirects: [] ) (C {<set>} {<-->} { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<'/usr/bin/who'>} {<-r>}) right: <Id.Backtick_Right '`'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_RUN_LEVEL='> name:_INIT_RUN_LEVEL) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 7))} spids: [145] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_RUN_NPREV='> name:_INIT_RUN_NPREV) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 8))} spids: [153] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_PREV_LEVEL='> name:_INIT_PREV_LEVEL) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 9))} spids: [161] ) ] redirects: [] ) (C {<set>} {<-->} { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<'/usr/bin/uname'>} {<-a>}) right: <Id.Backtick_Right '`'> ) } ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_UTS_SYSNAME='> name:_INIT_UTS_SYSNAME) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 1))} spids: [183] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_UTS_NODENAME='> name:_INIT_UTS_NODENAME) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 2))} spids: [191] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_UTS_RELEASE='> name:_INIT_UTS_RELEASE) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 3))} spids: [199] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_UTS_VERSION='> name:_INIT_UTS_VERSION) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 4))} spids: [207] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_UTS_MACHINE='> name:_INIT_UTS_MACHINE) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 5))} spids: [215] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_UTS_ISA='> name:_INIT_UTS_ISA) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 6))} spids: [223] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_INIT_UTS_PLATFORM='> name:_INIT_UTS_PLATFORM) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 7))} spids: [231] ) ] redirects: [] ) (C {<export>} {<_INIT_RUN_LEVEL>} {<_INIT_RUN_NPREV>} {<_INIT_PREV_LEVEL>} {<_INIT_UTS_SYSNAME>} {<_INIT_UTS_NODENAME>} {<_INIT_UTS_RELEASE>} {<_INIT_UTS_VERSION>} {<_INIT_UTS_MACHINE>} {<_INIT_UTS_ISA>} {<_INIT_UTS_PLATFORM>} ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-d>} {<'/etc/rc0.d'>} {<Id.Lit_RBracket ']'>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ForEach iter_names: [f] iterable: (for_iter.Words words:[{<'/etc/rc0.d/K'> <Id.Lit_Star '*'>}]) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-s>} {($ Id.VSub_DollarName f)} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName f)} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.sh>}] action: [ (C {<'/lib/svc/bin/lsvcrun'>} {<-s>} {($ Id.VSub_DollarName f)} {<stop>} ) ] spids: [315 317 326 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<'/lib/svc/bin/lsvcrun'>} {($ Id.VSub_DollarName f)} {<stop>}) ] spids: [329 330 337 -1] ) ] redirects: [] ) ] spids: [294 305] ) ] else_action: [] redirects: [] ) ] ) redirects: [] ) (command.ForEach iter_names: [f] iterable: (for_iter.Words words:[{<'/etc/rc0.d/S'> <Id.Lit_Star '*'>}]) body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-s>} {($ Id.VSub_DollarName f)} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {($ Id.VSub_DollarName f)} arms: [ (case_arm pat_list: [{<Id.Lit_Star '*'> <.sh>}] action: [ (C {<'/lib/svc/bin/lsvcrun'>} {<-s>} {($ Id.VSub_DollarName f)} {<start>} ) ] spids: [389 391 400 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<'/lib/svc/bin/lsvcrun'>} {($ Id.VSub_DollarName f)} {<start>}) ] spids: [403 404 412 -1] ) ] redirects: [] ) ] spids: [368 379] ) ] else_action: [] redirects: [] ) ] ) redirects: [] ) ] spids: [267 278] ) ] else_action: [] redirects: [] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {<-f>} {<'/etc/.dynamic_routing'>} {<Id.Lit_RBracket ']'>}) (C {<'/usr/bin/rm'>} {<-f>} {<'/etc/.dynamic_routing'>}) ] ) (C {<trap>} {(DQ )} {<15>}) ] )