(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PATH spids:[46]) op: Equal rhs: {(/sbin) (Lit_Other ':') (/bin)} spids: [46] ) ] spids: [46] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:TTYGRP spids:[51]) op: Equal rhs: {(5)} spids: [51] ) ] spids: [51] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:TTYMODE spids:[54]) op: Equal rhs: {(620)} spids: [54] ) ] spids: [54] ) (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-f)} {(/etc/default/devpts)} {(Lit_Other ']')}) (C {(.)} {(/etc/default/devpts)}) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:KERNEL spids:[72]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children:[(C {(uname)} {(-s)})]) left_token: <Left_CommandSub '$('> spids: [74 78] ) ) } spids: [72] ) ] spids: [72] ) (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 keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:MNTMODE spids:[114]) op: Equal rhs: {(DQ ($ VSub_Number '$1'))} spids: [114] ) ] spids: [114] ) (C {(mount_shm)} {(DQ ($ VSub_DollarName '$MNTMODE'))}) (command.If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$KERNEL'))} {(Lit_Other '=')} {(Linux)} {(Lit_Other ']')} ) ] action: [ (command.If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(-d)} {(/dev/pts)} {(Lit_Other ']')}) ] action: [ (C {(mkdir)} {(--mode) (Lit_Other '=') (755)} {(/dev/pts)}) (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-x)} {(/sbin/restorecon)} {(Lit_Other ']')}) (C {(/sbin/restorecon)} {(/dev/pts)}) ] ) ] spids: [16777215 168] ) ] spids: [16777215 195] ) (C {(domount)} {(DQ ($ VSub_DollarName '$MNTMODE'))} {(devpts)} {(DQ )} {(/dev/pts)} {(devpts)} {(DQ ('-onoexec,nosuid,gid=') ($ VSub_DollarName '$TTYGRP') (',mode=') ($ VSub_DollarName '$TTYMODE'))} ) ] spids: [16777215 152] ) ] spids: [16777215 221] ) ] spids: [111] ) spids: [106 110] ) (command.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(DQ )}] action: [ (command.SimpleCommand words: [ {(echo)} {(DQ ("Warning: mountdevsubfs should be called with the 'start' argument."))} ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (C {(mount_filesystems)} {(mount_noupdate)}) ] spids: [235 237 255 16777215] ) (case_arm pat_list: [{(start)}] action: [(C {(mount_filesystems)} {(mount_noupdate)})] spids: [258 259 267 16777215] ) (case_arm pat_list: [{(restart)} {(reload)} {(force-reload)}] action: [(C {(mount_filesystems)} {(remount)})] spids: [270 275 283 16777215] ) (case_arm pat_list:[{(stop)} {(status)}] spids:[286 289 296 16777215]) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.SimpleCommand words: [{(echo)} {(DQ ('Usage: mountdevsubfs [start|stop]'))}] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)}) ] spids: [299 300 318 16777215] ) ] spids: [226 232 320] ) ] )