(command.CommandList children: [ (command.Assignment pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PATH) op: Equal rhs: {(/sbin) (Lit_Other ':') (/bin)} ) ] ) (C {(.)} {(/lib/lsb/init-functions)}) (C {(.)} {(/lib/init/vars.sh)}) (C {(.)} {(/lib/init/tmpfs.sh)}) (C {(.)} {(/lib/init/mount-functions.sh)}) (command.FuncDef name: mount_filesystems body: (command.BraceGroup children: [ (command.Assignment pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:MNTMODE) op: Equal rhs: {(DQ ($ VSub_Number '$1'))} ) ] ) (C {(mount_run)} {(DQ ($ VSub_DollarName '$MNTMODE'))}) (C {(mount_lock)} {(DQ ($ VSub_DollarName '$MNTMODE'))}) (C {(domount)} {(DQ ($ VSub_DollarName '$MNTMODE'))} {(proc)} {(DQ )} {(/proc)} {(proc)} {(DQ ('-onodev,noexec,nosuid'))} ) (command.If arms: [ (if_arm cond: [ (C {(grep)} {(-E)} {(-qs)} {(DQ (sysfs) (word_part.EscapedLiteral token:<Lit_EscapedChar '\\$'>))} {(/proc/filesystems)} ) ] action: [ (C {(domount)} {(DQ ($ VSub_DollarName '$MNTMODE'))} {(sysfs)} {(DQ )} {(/sys)} {(sysfs)} {(DQ ('-onodev,noexec,nosuid'))} ) ] ) ] ) (command.If arms: [ (if_arm cond: [(C {(Lit_LBracket '[')} {(-d)} {(/sys/fs/pstore)} {(Lit_RBracket ']')})] action: [ (C {(domount)} {(DQ ($ VSub_DollarName '$MNTMODE'))} {(pstore)} {(DQ )} {(/sys/fs/pstore)} {(pstore)} {(DQ )} ) ] ) ] ) (command.If arms: [ (if_arm cond: [(C {(Lit_LBracket '[')} {(-d)} {(/sys/kernel/config)} {(Lit_RBracket ']')})] action: [ (C {(domount)} {(DQ ($ VSub_DollarName '$MNTMODE'))} {(configfs)} {(DQ )} {(/sys/kernel/config)} {(configfs)} {(DQ )} ) ] ) ] ) ] ) ) (command.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(DQ )}] action: [ (command.Simple words: [ {(echo)} {(DQ ("Warning: mountkernfs should be called with the 'start' argument."))} ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (C {(mount_filesystems)} {(mount_noupdate)}) ] ) (case_arm pat_list:[{(start)}] action:[(C {(mount_filesystems)} {(mount_noupdate)})]) (case_arm pat_list: [{(restart)} {(reload)} {(force-reload)}] action: [(C {(mount_filesystems)} {(remount)})] ) (case_arm pat_list:[{(stop)} {(status)}]) (case_arm pat_list: [{(Lit_Star '*')}] action: [ (command.Simple words: [{(echo)} {(DQ ('Usage: mountkernfs [start|stop]'))}] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)}) ] ) ] ) ] )