(command.CommandList children: [ (C {(set)} {(-e)}) (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(-f)} {(/usr/bin/loadkeys)}) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(-f)} {(/etc/default/locale)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(C {(.)} {(/etc/default/locale)}) (C {(export)} {(LANG)})] spids: [16777215 73] ) ] spids: [16777215 93] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(-f)} {(/lib/lsb/init-functions)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(C {(.)} {(/lib/lsb/init-functions)})] spids: [16777215 107] ) ] else_action: [ (command.FuncDef name: log_action_begin_msg body: (command.BraceGroup children: [(C {(echo)} {(-n)} {(DQ ($ VSub_At '$@') ('... '))})] spids: [122] ) spids: [117 121] ) (command.FuncDef name: log_action_end_msg body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Number '$1'))} {(-eq)} {(0)} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [(C {(echo)} {(done.)})] spids: [16777215 162] ) ] else_action: [(C {(echo)} {(failed.)})] spids: [171 179] ) ] spids: [144] ) spids: [139 143] ) ] spids: [114 184] ) (command.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list:[{(stop)} {(status)}] spids:[196 199 206 16777215]) (case_arm pat_list: [{(start)} {(force-reload)} {(restart)} {(reload)}] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(loadkeys)} {(/etc/console-setup/cached.kmap.gz)}) terminator: <Op_Semi ';'> ) ] action: [(C {(log_action_end_msg)} {(0)})] spids: [16777215 227] ) ] else_action: [(C {(log_action_end_msg)} {($ VSub_QMark '$?')})] spids: [235 243] ) ] spids: [209 216 246 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (C {(echo)} { (SQ < 'Usage: /etc/init.d/console-setup {start|reload|restart|force-reload|stop|status}' > ) } ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [249 250 265 16777215] ) ] spids: [187 193 267] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )