(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PATH) op: assign_op.Equal rhs: {<'/usr/local/sbin'> <Id.Lit_Colon ':'> <'/usr/local/bin'> <Id.Lit_Colon ':'> <'/sbin'> <Id.Lit_Colon ':'> <'/bin'> <Id.Lit_Colon ':'> <'/usr/sbin'> <Id.Lit_Colon ':'> <'/usr/bin'> } spids: [34] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:NAME) op: assign_op.Equal rhs: {<binfmt-support>} spids: [47] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:DESC) op: assign_op.Equal rhs: {(DQ <'additional executable binary formats'>)} spids: [50] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ (command_sub left_token:<Id.Left_DollarParen '$('> child:(C {<uname>})))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<Linux>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] action: [(command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})] spids: [56 74] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [{<which>} {<update-binfmts>}] redirects: [ (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>}) (redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] ) (C {<.>} {<'/lib/lsb/init-functions'>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {<-r>} {<'/etc/default/rcS'>} {<Id.Lit_RBracket ']'>}) (C {<.>} {<'/etc/default/rcS'>}) ] ) (C {<Id.KW_Set set>} {<-e>}) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:CODE) op:assign_op.Equal rhs:{<0>} spids:[124])] ) (command.Case to_match: {(DQ ($ Id.VSub_Number '$1'))} arms: [ (case_arm pat_list: [{<start>}] action: [ (command.If arms: [ (if_arm cond: [(command.Sentence child:(C {<init_is_upstart>}) terminator:<Id.Op_Semi _>)] action: [(command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})] spids: [141 146] ) ] ) (C {<log_daemon_msg>} {(DQ <'Enabling '> ($ Id.VSub_DollarName '$DESC'))} {(DQ ($ Id.VSub_DollarName '$NAME'))} ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<update-binfmts>} {<--enable>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CODE) op: assign_op.Equal rhs: {($ Id.VSub_QMark '$?')} spids: [175] ) ] ) ] ) (C {<log_end_msg>} {($ Id.VSub_DollarName '$CODE')}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$CODE')} ) ] spids: [137 138 189 -1] ) (case_arm pat_list: [{<stop>}] action: [ (command.If arms: [ (if_arm cond: [(command.Sentence child:(C {<init_is_upstart>}) terminator:<Id.Op_Semi _>)] action: [(command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})] spids: [197 202] ) ] ) (C {<log_daemon_msg>} {(DQ <'Disabling '> ($ Id.VSub_DollarName '$DESC'))} {(DQ ($ Id.VSub_DollarName '$NAME'))} ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<update-binfmts>} {<--disable>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CODE) op: assign_op.Equal rhs: {($ Id.VSub_QMark '$?')} spids: [231] ) ] ) ] ) (C {<log_end_msg>} {($ Id.VSub_DollarName '$CODE')}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {($ Id.VSub_DollarName '$CODE')} ) ] spids: [193 194 245 -1] ) (case_arm pat_list: [{<restart>} {<force-reload>}] action: [ (command.If arms: [ (if_arm cond: [(command.Sentence child:(C {<init_is_upstart>}) terminator:<Id.Op_Semi _>)] action: [(command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})] spids: [255 260] ) ] ) (C {($ Id.VSub_Number '$0')} {<stop>}) (C {($ Id.VSub_Number '$0')} {<start>}) ] spids: [249 252 281 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:N) op: assign_op.Equal rhs: {<'/etc/init.d/'> ($ Id.VSub_DollarName '$NAME')} spids: [289] ) ] ) (command.Simple words: [ {<echo>} {(DQ <'Usage: '> ($ Id.VSub_DollarName '$N') <' {start|stop|restart|force-reload}'>)} ] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [285 286 311 -1] ) ] ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] )