(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {(/bin) (Lit_Other ':') (/usr/bin)} spids: [93] ) ] spids: [93] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-r)} {(/etc/defaults/rc.conf)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (C {(.)} {(/etc/defaults/rc.conf)}) (SimpleCommand words: [{(source_rc_confs)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[126])] ) ] spids: [16777215 116] ) (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-r)} {(/etc/rc.conf)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(.)} {(/etc/rc.conf)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[147])] ) ] spids: [129 140] ) ] spids: [16777215 150] ) (AndOr ops: [Op_DPipe] children: [ (C {(Lit_Other '[')} { (CommandSubPart command_list: (CommandList children: [(C {(/sbin/sysctl)} {(-n)} {(security.jail.jailed)})] ) left_token: <Left_CommandSub '$('> spids: [155 161] ) } {(Lit_Other '=')} {(0)} {(Lit_Other ']')} ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] ) (Case to_match: {(${ VSub_Name entropy_dir)} arms: [ (case_arm pat_list: [{(Lit_Other '[') (Nn) (Lit_Other ']') (Lit_Other '[') (Oo) (Lit_Other ']')}] action: [(ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})] spids: [184 190 198 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:entropy_dir) op: Equal rhs: { (BracedVarSub token: <VSub_Name entropy_dir> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(Lit_Slash /) (var) (Lit_Slash /) (db) (Lit_Slash /) (entropy)} ) spids: [205 214] ) } spids: [204] ) ] spids: [204] ) ] spids: [200 201 217 16777215] ) ] spids: [176 182 219] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:entropy_save_sz) op: Equal rhs: { (BracedVarSub token: <VSub_Name entropy_save_sz> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(4096)}) spids: [223 227] ) } spids: [222] ) ] spids: [222] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:entropy_save_num) op: Equal rhs: { (BracedVarSub token: <VSub_Name entropy_save_num> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(8)}) spids: [230 234] ) } spids: [229] ) ] spids: [229] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(-d)} {(DQ (${ VSub_Name entropy_dir))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (AndOr ops: [Op_DPipe] children: [ (C {(install)} {(-d)} {(-o)} {(operator)} {(-g)} {(operator)} {(-m)} {(0700)} {(DQ (${ VSub_Name entropy_dir))} ) (BraceGroup children: [ (Sentence child: (C {(logger)} {(-is)} {(-t)} {(DQ ($ VSub_Number '$0'))} {(The)} {(entropy)} {(directory)} {(DQ (${ VSub_Name entropy_dir))} {(does)} {(not)} {(exist) (Lit_Comma ',')} {(and)} {(cannot)} {(be)} {(created.)} {(Therefore)} {(no)} {(entropy)} {(can)} {(be)} {(saved.)} ) terminator: <Op_Semi ';'> ) (Sentence child: (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) terminator: <Op_Semi ';'> ) ] spids: [281] ) ] ) ] spids: [16777215 254] ) ] spids: [16777215 345] ) (AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ (${ VSub_Name entropy_dir))}) (BraceGroup children: [ (Sentence child: (C {(logger)} {(-is)} {(-t)} {(DQ ($ VSub_Number '$0'))} {(Cannot)} {(cd)} {(to)} {(the)} {(entropy)} {(directory) (Lit_Other ':')} {(DQ (${ VSub_Name entropy_dir)) (.)} {(Entropy)} {(file)} {(rotation)} {(is)} {(aborted.)} ) terminator: <Op_Semi ';'> ) (Sentence child: (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) terminator: <Op_Semi ';'> ) ] spids: [358] ) ] ) (ForEach iter_name: f iter_words: [{(saved-entropy.) (Lit_Other '*')}] do_arg_iter: F body: (DoGroup children: [ (Case to_match: {(DQ (${ VSub_Name f))} arms: [ (case_arm pat_list: [{(saved-entropy.) (EscapedLiteralPart token:<Lit_EscapedChar '\\*'>)}] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [435 437 441 16777215] ) ] spids: [425 433 443] ) (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} { (BracedVarSub token: <VSub_Name f> suffix_op: (StringUnary op_id: VOp1_Pound arg_word: {(saved-entropy) (EscapedLiteralPart token:<Lit_EscapedChar '\\.'>)} ) spids: [451 456] ) } {(-ge)} {(${ VSub_Name entropy_save_num)} {(Lit_Other ']')} ) (C {(unlink)} {(${ VSub_Name f)}) ] ) ] spids: [422 474] ) spids: [417 420] ) (C {(umask)} {(377)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: { (ArithSubPart anode: (ArithBinary op_id: Arith_Minus left: (ArithWord w:{(${ VSub_Name entropy_save_num)}) right: (ArithWord w:{(Lit_Digits 1)}) ) spids: [483 494] ) } spids: [482] ) ] spids: [482] ) (While cond: [ (Sentence child: (C {(Lit_Other '[')} {(${ VSub_Name n)} {(-ge)} {(1)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-f)} {(DQ (saved-entropy.) (${ VSub_Name n))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(mv)} {(DQ (saved-entropy.) (${ VSub_Name n))} { (DQ (saved-entropy.) (ArithSubPart anode: (ArithBinary op_id: Arith_Plus left: (ArithWord w:{(${ VSub_Name n)}) right: (ArithWord w:{(Lit_Digits 1)}) ) spids: [544 555] ) ) } ) ] spids: [16777215 530] ) (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-e)} {(DQ (saved-entropy.) (${ VSub_Name n))} {(-o)} {(-L)} {(DQ (saved-entropy.) (${ VSub_Name n))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(logger)} {(-is)} {(-t)} {(DQ ($ VSub_Number '$0'))} {(DQ (${ VSub_Name entropy_dir) (/saved-entropy.) (${ VSub_Name n))} {(is)} {(not)} {(a)} {(regular)} {(file) (Lit_Comma ',')} {(and)} {(so)} {(it)} {(will)} {(not)} {(be)} {(rotated.)} {(Entropy)} {(file)} {(rotation)} {(is)} {(aborted.)} ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [559 586] ) ] spids: [16777215 654] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:n) op: Equal rhs: { (ArithSubPart anode: (ArithBinary op_id: Arith_Minus left: (ArithWord w:{(${ VSub_Name n)}) right: (ArithWord w:{(Lit_Digits 1)}) ) spids: [658 669] ) } spids: [657] ) ] spids: [657] ) ] spids: [511 671] ) ) (SimpleCommand words: [ {(dd)} {(Lit_VarLike 'if=') (/dev/random)} {(Lit_VarLike 'of=') (saved-entropy.1)} {(Lit_VarLike 'bs=') (${ VSub_Name entropy_save_sz)} {(Lit_VarLike 'count=') (1)} ] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[690])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )