(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PATH='> name:PATH) op: assign_op.Equal rhs: {<'/sbin'> <Id.Lit_Colon ':'> <'/bin'>} spids: [31] ) ] redirects: [] ) (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: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-r>} {<'/etc/default/locale'>} {<Id.Lit_RBracket ']'>}) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<.>} {<'/etc/default/locale'>}) (C {<export>} {<LANG>})] spids: [61 72] ) ] else_action: [] redirects: [] ) (command.ShFunction name: do_start body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.ShFunction name: mount_all_local body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<mountpoint>} {<-q>} {<'/usr'>}) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<mount>} {<-o>} {<remount>} {<'/usr'>})] spids: [113 122] ) ] else_action: [] redirects: [] ) (C {<mount>} {<-a>} {<-t>} {<nonfs> <Id.Lit_Comma ','> <nfs4> <Id.Lit_Comma ','> <smbfs> <Id.Lit_Comma ','> <cifs> <Id.Lit_Comma ','> <ncp> <Id.Lit_Comma ','> <ncpfs> <Id.Lit_Comma ','> <coda> <Id.Lit_Comma ','> <ocfs2> <Id.Lit_Comma ','> <gfs> <Id.Lit_Comma ','> <gfs2> <Id.Lit_Comma ','> <ceph> } {<-O>} {<no_netdev>} ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (C {<pre_mountall>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName VERBOSE))} {<Id.Lit_Equals '='>} {<no>} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (C {<log_action_begin_msg>} {(DQ <'Mounting local filesystems'>)}) (C {<mount_all_local>}) (C {<log_action_end_msg>} {($ Id.VSub_QMark '?')}) ] spids: [186 201] ) ] else_action: [ (C {<log_daemon_msg>} {(DQ <'Will now mount local filesystems'>)}) (C {<mount_all_local>}) (C {<log_end_msg>} {($ Id.VSub_QMark '?')}) ] redirects: [] ) (C {<post_mountall>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'INITCTL='> name:INITCTL) op: assign_op.Equal rhs: {(DQ <'/run/initctl'>)} spids: [260] ) ] redirects: [] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-p>} {(DQ ($ Id.VSub_DollarName INITCTL))} {<Id.Lit_RBracket ']'>} ) (C {<Id.Lit_LBracket '['>} {<-f>} {(DQ <'/usr/share/sysvinit/update-rc.d'>)} {<Id.Lit_RBracket ']'>} ) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<rm>} {<-f>} {(DQ ($ Id.VSub_DollarName INITCTL))}) (C {<mknod>} {<-m>} {<600>} {(DQ ($ Id.VSub_DollarName INITCTL))} {<p>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PID='> name:PID) op: assign_op.Equal rhs: { (DQ (command_sub left_token: <Id.Left_DollarParen '$('> child: (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<pidof>} {<-s>} {<'/sbin/init'>}) (C {<echo>} {<1>}) ] ) right: <Id.Eof_RParen _> ) ) } spids: [327] ) ] redirects: [] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {<-n>} {(DQ ($ Id.VSub_DollarName PID))} {<Id.Lit_RBracket ']'>} ) (C {<kill>} {<-s>} {<USR1>} {(DQ ($ Id.VSub_DollarName PID))}) ] ) ] spids: [266 293] ) ] else_action: [] redirects: [] ) (C {<swaponagain>} {(SQ <swapfile>)}) (C {<mount_run>} {<mount_noupdate>}) (C {<mount_lock>} {<mount_noupdate>}) (C {<mount_shm>} {<mount_noupdate>}) (C {<mount_tmp>} {<mount_noupdate>}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.Case to_match: {(DQ ($ Id.VSub_Number 1))} arms: [ (case_arm pat_list: [{<start>} {(DQ )}] action: [(C {<do_start>})] spids: [440 444 450 -1] ) (case_arm pat_list: [{<restart>} {<reload>} {<force-reload>}] action: [ (command.Simple words: [{<echo>} {(DQ <'Error: argument \''> ($ Id.VSub_Number 1) <'\' not supported'>)}] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] more_env: [] do_fork: T ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<3>}) ] spids: [453 458 478 -1] ) (case_arm pat_list:[{<stop>} {<status>}] action:[] spids:[481 484 491 -1]) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.Simple words: [{<echo>} {(DQ <'Usage: mountall.sh [start|stop]'>)}] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] more_env: [] do_fork: T ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<3>}) ] spids: [494 495 513 -1] ) ] redirects: [] ) (C {<Id.Lit_Colon ':'>}) ] )