(command.CommandList children: [ (command.ShAssignment left: <Id.Lit_VarLike 'PATH='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'PATH='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PATH='> name:PATH) op: assign_op.Equal rhs: {<'/sbin'> <Id.Lit_Colon ':'> <'/usr/sbin'> <Id.Lit_Colon ':'> <'/usr/bin'> <Id.Lit_Colon ':'> <'/bin'> } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'ACPI_SUSPEND_STATE='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'ACPI_SUSPEND_STATE='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ACPI_SUSPEND_STATE='> name:ACPI_SUSPEND_STATE) op: assign_op.Equal rhs: {<hw.acpi.suspend_state>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'ACPI_SUPPORTED_STATES='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'ACPI_SUPPORTED_STATES='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'ACPI_SUPPORTED_STATES='> name: ACPI_SUPPORTED_STATES ) op: assign_op.Equal rhs: {<hw.acpi.supported_sleep_state>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'APM_SUSPEND_DELAY='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'APM_SUSPEND_DELAY='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'APM_SUSPEND_DELAY='> name:APM_SUSPEND_DELAY) op: assign_op.Equal rhs: {<machdep.apm_suspend_delay>} ) ] redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <sysctl> more_env: [] words: [{<sysctl>} {($ Id.VSub_DollarName ACPI_SUSPEND_STATE)}] 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 ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'SUSPEND_STATE='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'SUSPEND_STATE='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'SUSPEND_STATE='> name:SUSPEND_STATE) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <sysctl> more_env: [] words: [{<sysctl>} {<-n>} {($ Id.VSub_DollarName ACPI_SUSPEND_STATE)}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'SUPPORTED_STATES='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'SUPPORTED_STATES='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'SUPPORTED_STATES='> name: SUPPORTED_STATES ) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <sysctl> more_env: [] words: [{<sysctl>} {<-n>} {($ Id.VSub_DollarName ACPI_SUPPORTED_STATES)}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ) ] redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {($ Id.VSub_DollarName SUPPORTED_STATES)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <grep> more_env: [] words: [{<grep>} {($ Id.VSub_DollarName SUSPEND_STATE)}] redirects: [ (Redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) ] do_fork: T ) ] ops: [<Id.Op_Pipe _>] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <exec> more_env: [] words: [{<exec>} {<acpiconf>} {<-s>} {($ Id.VSub_DollarName SUSPEND_STATE)}] redirects: [] do_fork: T ) ] spids: [110 126] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <echo> more_env: [] words: [ {<echo>} {<-n>} {(DQ <'Requested suspend state '> ($ Id.VSub_DollarName SUSPEND_STATE) <' '>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {<-n>} {(DQ <'is not supported. '>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'Supported states: '> ($ Id.VSub_DollarName SUPPORTED_STATES))}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] spids: [54 67] ) (IfArm keyword: <Id.KW_Elif elif> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <sysctl> more_env: [] words: [{<sysctl>} {($ Id.VSub_DollarName APM_SUSPEND_DELAY)}] 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 ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <exec> more_env: [] words: [{<exec>} {<apm>} {<-z>}] redirects: [] do_fork: T ) ] spids: [178 191] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'Error: no ACPI or APM suspend support found.'>)}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] )