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