(command.CommandList children: [ (C {(set)} {(-e)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DAEMON spids:[42]) op: Equal rhs: {(/sbin/brltty)} spids: [42] ) ] spids: [42] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:NAME spids:[45]) op: Equal rhs: {(brltty)} spids: [45] ) ] spids: [45] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DESC spids:[48]) op: Equal rhs: {(SQ <'Braille terminal driver'>)} spids: [48] ) ] spids: [48] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(-f)} {($ VSub_DollarName '$DAEMON')}) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-e)} {(/dev/.initramfs/brltty.conf)} {(Lit_Other ']')}) (C {(Lit_Other '[')} {(-e)} {(/etc/default/brltty)} {(Lit_Other ']')}) ] ) terminator: <Op_Semi ';'> ) ] action: [ (C {(mv)} {(/dev/.initramfs/brltty.conf)} {(/etc/brltty.conf)}) (C {(sed)} {(-i)} {(-e)} {(SQ <'s/^RUN_BRLTTY=.*/RUN_BRLTTY=yes/'>)} {(/etc/default/brltty)}) ] spids: [16777215 94] ) ] spids: [16777215 116] ) (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-r)} {(/etc/default/brltty)} {(Lit_Other ']')}) (C {(.)} {(/etc/default/brltty)}) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$RUN_BRLTTY'))} {(KW_Bang '!') (Lit_Other '=')} {(yes)} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [(command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})] spids: [16777215 156] ) ] spids: [16777215 163] ) (C {(set)} {(-e)}) (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-r)} {(/etc/default/locale)} {(Lit_Other ']')}) (C {(.)} {(/etc/default/locale)}) ] ) (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$LANG'))} {(Lit_Other ']')}) (C {(export)} {(LANG)}) ] ) (C {(.)} {(/lib/lsb/init-functions)}) (command.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(start)}] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$RUNLEVEL'))} {(Lit_Other '=')} {(DQ (S))} {(-a)} {(DQ ($ VSub_DollarName '$PREVLEVEL'))} {(Lit_Other '=')} {(DQ (N))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$START_IN_INITRAMFS'))} {(Lit_Other '=')} {(DQ (true))} {(-o)} {(DQ ($ VSub_DollarName '$START_IN_INITRAMFS'))} {(Lit_Other '=')} {(DQ (yes))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.SimpleCommand words: [{($ VSub_Number '$0')} {(status)}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(/dev/null)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [(C {($ VSub_Number '$0')} {(stop)})] spids: [16777215 294] ) ] else_action: [ (C {(log_warning_msg)} { (SQ < 'BRLTTY was not running, did you forget to invoke "update-initramfs -u"?' > ) } ) ] spids: [302 312] ) ] spids: [16777215 281] ) ] spids: [16777215 315] ) ] spids: [16777215 249] ) ] spids: [16777215 318] ) (C {(log_daemon_msg)} {(DQ ('Starting ') ($ VSub_DollarName '$DESC'))} {(DQ ($ VSub_DollarName '$NAME'))} ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(start-stop-daemon)} {(--start)} {(--oknodo)} {(--exec)} {($ VSub_DollarName '$DAEMON')} {(--)} {($ VSub_DollarName '$ARGUMENTS')} ) terminator: <Op_Semi ';'> ) ] action: [(C {(log_end_msg)} {(0)})] spids: [16777215 350] ) ] else_action: [(C {(log_end_msg)} {(1)})] spids: [358 366] ) ] spids: [216 217 369 16777215] ) (case_arm pat_list: [{(stop)}] action: [ (C {(log_daemon_msg)} {(DQ ('Stopping ') ($ VSub_DollarName '$DESC'))} {(DQ ($ VSub_DollarName '$NAME'))} ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(start-stop-daemon)} {(--stop)} {(--quiet)} {(--oknodo)} {(--retry)} {(5)} {(--exec)} {($ VSub_DollarName '$DAEMON')} ) terminator: <Op_Semi ';'> ) ] action: [(C {(log_end_msg)} {(0)})] spids: [16777215 407] ) ] else_action: [(C {(log_end_msg)} {(1)})] spids: [415 423] ) ] spids: [372 373 426 16777215] ) (case_arm pat_list: [{(restart)} {(force-reload)}] action: [ (C {(log_daemon_msg)} {(DQ ('Restarting ') ($ VSub_DollarName '$DESC'))} {(DQ ($ VSub_DollarName '$NAME'))} ) (C {(start-stop-daemon)} {(--stop)} {(--quiet)} {(--retry)} {(5)} {(--exec)} {($ VSub_DollarName '$DAEMON')} ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(start-stop-daemon)} {(--start)} {(--quiet)} {(--exec)} {($ VSub_DollarName '$DAEMON')} {(--)} {($ VSub_DollarName '$ARGUMENTS')} ) terminator: <Op_Semi ';'> ) ] action: [(C {(log_end_msg)} {(0)})] spids: [16777215 479] ) ] else_action: [(C {(log_end_msg)} {(1)})] spids: [487 495] ) ] spids: [429 432 498 16777215] ) (case_arm pat_list: [{(status)}] action: [ (command.AndOr ops: [Op_DAmp Op_DPipe] children: [ (C {(status_of_proc)} {(DQ ($ VSub_DollarName '$DAEMON'))} {(DQ ($ VSub_DollarName '$NAME'))} ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) (command.ControlFlow token: <ControlFlow_Exit exit> arg_word: {($ VSub_QMark '$?')} ) ] ) ] spids: [501 502 528 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.SimpleCommand words: [ {(echo)} { (DQ ('Usage: /etc/init.d/') ($ VSub_DollarName '$NAME') (' {start|stop|restart|force-reload|status}') ) } ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [531 532 552 16777215] ) ] spids: [207 213 554] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )