(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PATH spids:[31]) op: Equal rhs: {(/sbin) (Lit_Other ':') (/bin)} spids: [31] ) ] spids: [31] ) (C {(.)} {(/lib/lsb/init-functions)}) (C {(.)} {(/lib/init/vars.sh)}) (C {(.)} {(/lib/init/tmpfs.sh)}) (C {(.)} {(/lib/init/mount-functions.sh)}) (C {(.)} {(/lib/init/swap-functions.sh)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(-r)} {(/etc/default/locale)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(C {(.)} {(/etc/default/locale)}) (C {(export)} {(LANG)})] spids: [16777215 72] ) ] spids: [16777215 84] ) (command.FuncDef name: do_start body: (command.BraceGroup children: [ (command.FuncDef name: mount_all_local body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(mountpoint)} {(-q)} {(/usr)}) terminator: <Op_Semi ';'> ) ] action: [(C {(mount)} {(-o)} {(remount)} {(/usr)})] spids: [16777215 122] ) ] spids: [16777215 142] ) (C {(mount)} {(-a)} {(-t)} {(nonfs) (Lit_Comma ',') (nfs4) (Lit_Comma ',') (smbfs) (Lit_Comma ',') (cifs) (Lit_Comma ',') (ncp) (Lit_Comma ',') (ncpfs) (Lit_Comma ',') (coda) (Lit_Comma ',') (ocfs2) (Lit_Comma ',') (gfs) (Lit_Comma ',') (gfs2) (Lit_Comma ',') (ceph) } {(-O)} {(no_netdev)} ) ] spids: [110] ) spids: [106 109] ) (C {(pre_mountall)}) (command.If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$VERBOSE'))} {(Lit_Other '=')} {(no)} {(Lit_Other ']')} ) ] action: [ (C {(log_action_begin_msg)} {(DQ ('Mounting local filesystems'))}) (C {(mount_all_local)}) (C {(log_action_end_msg)} {($ VSub_QMark '$?')}) ] spids: [16777215 201] ) ] else_action: [ (C {(log_daemon_msg)} {(DQ ('Will now mount local filesystems'))}) (C {(mount_all_local)}) (C {(log_end_msg)} {($ VSub_QMark '$?')}) ] spids: [219 237] ) (C {(post_mountall)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:INITCTL spids:[260]) op: Equal rhs: {(DQ (/run/initctl))} spids: [260] ) ] spids: [260] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(-p)} {(DQ ($ VSub_DollarName '$INITCTL'))} {(Lit_Other ']')} ) (C {(Lit_Other '[')} {(-f)} {(DQ (/usr/share/sysvinit/update-rc.d))} {(Lit_Other ']')} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$INITCTL'))}) (C {(mknod)} {(-m)} {(600)} {(DQ ($ VSub_DollarName '$INITCTL'))} {(p)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PID spids:[327]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(pidof)} {(-s)} {(/sbin/init)}) (C {(echo)} {(1)}) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [329 341] ) ) } spids: [327] ) ] spids: [327] ) (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$PID'))} {(Lit_Other ']')}) (C {(kill)} {(-s)} {(USR1)} {(DQ ($ VSub_DollarName '$PID'))}) ] ) ] spids: [16777215 293] ) ] spids: [16777215 368] ) (C {(swaponagain)} {(SQ <swapfile>)}) (C {(mount_run)} {(mount_noupdate)}) (C {(mount_lock)} {(mount_noupdate)}) (C {(mount_shm)} {(mount_noupdate)}) (C {(mount_tmp)} {(mount_noupdate)}) ] spids: [91] ) spids: [87 90] ) (command.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(start)} {(DQ )}] action: [(C {(do_start)})] spids: [440 444 450 16777215] ) (case_arm pat_list: [{(restart)} {(reload)} {(force-reload)}] action: [ (command.SimpleCommand words: [{(echo)} {(DQ ("Error: argument '") ($ VSub_Number '$1') ("' not supported"))}] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)}) ] spids: [453 458 478 16777215] ) (case_arm pat_list:[{(stop)} {(status)}] spids:[481 484 491 16777215]) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.SimpleCommand words: [{(echo)} {(DQ ('Usage: mountall.sh [start|stop]'))}] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)}) ] spids: [494 495 513 16777215] ) ] spids: [431 437 515] ) (C {(Lit_Other ':')}) ] )