(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PATH) rhs: {(/usr/local/sbin) (Lit_Other ":") (/usr/local/bin) (Lit_Other ":") (/sbin) (Lit_Other ":") (/bin) (Lit_Other ":") (/usr/sbin) (Lit_Other ":") (/usr/bin) } spids: [50] ) ] spids: [50] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DAEMON) rhs:{(/usr/sbin/cupsd)} spids:[63])] spids: [63] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:NAME) rhs:{(cupsd)} spids:[66])] spids: [66] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PIDFILE) rhs: {(/var/run/cups/) ($ VSub_Name "$NAME") (.pid)} spids: [69] ) ] spids: [69] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:DESC) rhs: {(DQ ("Common Unix Printing System"))} spids: [74] ) ] spids: [74] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:SCRIPTNAME) rhs:{(/etc/init.d/cups)} spids:[79])] spids: [79] ) (C {(unset)} {(TMPDIR)}) (AndOr children: [(C {(test)} {(-x)} {($ VSub_Name "$DAEMON")}) (C {(exit)} {(0)})] op_id: Op_DPipe ) (C {(mkdir)} {(-p)} {(/var/run/cups/certs)}) (AndOr children: [ (C {(Lit_Other "[")} {(-x)} {(/sbin/restorecon)} {(Lit_Other "]")}) (C {(/sbin/restorecon)} {(-R)} {(/var/run/cups)}) ] op_id: Op_DAmp ) (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(-r)} {(/etc/default/cups)} {(Lit_Other "]")}) terminator: <Op_Semi ";"> ) action: (C {(.)} {(/etc/default/cups)}) spids: [-1 141] ) ] spids: [-1 148] ) (C {(.)} {(/lib/lsb/init-functions)}) (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$TZ"))} {(-a)} {(-e)} {(/etc/timezone)} {(Lit_Other "]")} ) terminator: <Op_Semi ";"> ) action: (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:TZ) rhs: {(CommandSubPart command_list:(C {(cat)} {(/etc/timezone)}) spids:[191195])} spids: [190] ) ] spids: [190] ) (Assignment keyword: Assign_Export pairs: [(assign_pair lhs:(LeftVar name:TZ) spids:[200])] spids: [198] ) ] ) spids: [-1 187] ) ] spids: [-1 202] ) (FuncDef name: coldplug_usb_printers body: (BraceGroup children: [ (If arms: [ (if_arm cond: (Sentence command: (AndOr children: [ (SimpleCommand words: [{(type)} {(udevadm)}] redirects: [ (Redirect op_id: Redir_Great arg_word: {(/dev/null)} fd: -1 spids: [218] ) (Redirect op_id: Redir_GreatAnd arg_word: {(1)} fd: 2 spids: [222] ) ] ) (C {(Lit_Other "[")} {(-x)} {(/lib/udev/udev-configure-printer)} {(Lit_Other "]")} ) ] op_id: Op_DAmp ) terminator: <Op_Semi ";"> ) action: (ForEach iter_name: printer iter_words: [ { (CommandSubPart command_list: (CommandList children: [ (Sentence command: (AndOr children: [ (SimpleCommand words: [ {(udevadm)} {(trigger)} {(--verbose)} {(--dry-run)} {(--subsystem-match) (Lit_Other "=") (usb)} {(--attr-match) (Lit_Other "=") (Lit_VarLike "bInterfaceClass=") (07) } {(--attr-match) (Lit_Other "=") (Lit_VarLike "bInterfaceSubClass=") (01) } ] redirects: [ (Redirect op_id: Redir_Great arg_word: {(/dev/null)} fd: 2 spids: [270] ) ] ) (C {(true)}) ] op_id: Op_DPipe ) terminator: <Op_Semi ";"> ) (AndOr children: [ (SimpleCommand words: [ {(udevadm)} {(trigger)} {(--verbose)} {(--dry-run)} {(--subsystem-match) (Lit_Other "=") (usb)} {(--sysname-match) (Lit_Other "=") (SQ <"lp[0-9]*">)} ] redirects: [ (Redirect op_id: Redir_Great arg_word: {(/dev/null)} fd: 2 spids: [300] ) ] ) (C {(true)}) ] op_id: Op_DPipe ) ] ) spids: [245 306] ) } ] do_arg_iter: False body: (DoGroup child: (C {(/lib/udev/udev-configure-printer)} {(add)} { (DQ (BracedVarSub token: <VSub_Name printer> suffix_op: (StringUnary op_id: VOp1_Pound arg_word: {(Lit_Slash /) (sys)} ) spids: [317 322] ) ) } ) spids: [309 326] ) spids: [244 307] ) spids: [-1 236] ) ] spids: [-1 329] ) ] spids: [209] ) spids: [205 208] ) (Case to_match: {(DQ ($ VSub_Number "$1"))} arms: [ (case_arm pat_list: [{(start)}] action: (CommandList children: [ (C {(log_daemon_msg)} {(DQ ("Starting ") ($ VSub_Name "$DESC"))} {(DQ ($ VSub_Name "$NAME"))} ) (C {(mkdir)} {(-p)} { (CommandSubPart command_list: (C {(dirname)} {(DQ ($ VSub_Name "$PIDFILE"))}) spids: [364 370] ) } ) (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$LOAD_LP_MODULE"))} {(Lit_Other "=")} {(DQ (yes))} {(-a)} {(-f)} {(/usr/lib/cups/backend/parallel)} {(-a)} {(-f)} {(/proc/devices)} {(-a)} {(-f)} {(/proc/modules)} {(-a)} {(-x)} {(/sbin/modprobe)} {(Lit_Other "]")} ) terminator: <Op_Semi ";"> ) action: (CommandList children: [ (AndOr children: [(C {(modprobe)} {(-q)} {(-b)} {(lp)}) (C {(true)})] op_id: Op_DPipe ) (AndOr children: [(C {(modprobe)} {(-q)} {(-b)} {(ppdev)}) (C {(true)})] op_id: Op_DPipe ) (AndOr children: [(C {(modprobe)} {(-q)} {(-b)} {(parport_pc)}) (C {(true)})] op_id: Op_DPipe ) ] ) spids: [-1 416] ) ] spids: [-1 458] ) (C {(start-stop-daemon)} {(--start)} {(--quiet)} {(--oknodo)} {(--pidfile)} {(DQ ($ VSub_Name "$PIDFILE"))} {(--exec)} {($ VSub_Name "$DAEMON")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:status) rhs: {($ VSub_QMark "$?")} spids: [481] ) ] spids: [481] ) (AndOr children: [ (C {(Lit_Other "[")} {($ VSub_Name "$status")} {(Lit_Other "=")} {(0)} {(Lit_Other "]")} ) (C {(coldplug_usb_printers)}) ] op_id: Op_DAmp ) (C {(log_end_msg)} {($ VSub_Name "$status")}) ] ) spids: [343 344 505 -1] ) (case_arm pat_list: [{(stop)}] action: (CommandList children: [ (C {(log_daemon_msg)} {(DQ ("Stopping ") ($ VSub_Name "$DESC"))} {(DQ ($ VSub_Name "$NAME"))} ) (C {(start-stop-daemon)} {(--stop)} {(--quiet)} {(--retry)} {(5)} {(--oknodo)} {(--pidfile)} {($ VSub_Name "$PIDFILE")} {(--name)} {($ VSub_Name "$NAME")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:status) rhs: {($ VSub_QMark "$?")} spids: [545] ) ] spids: [545] ) (C {(log_end_msg)} {($ VSub_Name "$status")}) ] ) spids: [508 509 554 -1] ) (case_arm pat_list: [{(reload)} {(force-reload)}] action: (CommandList children: [ (C {(log_daemon_msg)} {(DQ ("Reloading ") ($ VSub_Name "$DESC"))} {(DQ ($ VSub_Name "$NAME"))} ) (C {(start-stop-daemon)} {(--stop)} {(--quiet)} {(--pidfile)} {($ VSub_Name "$PIDFILE")} {(--name)} {($ VSub_Name "$NAME")} {(--signal)} {(1)} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:status) rhs: {($ VSub_QMark "$?")} spids: [594] ) ] spids: [594] ) (C {(log_end_msg)} {($ VSub_Name "$status")}) ] ) spids: [557 560 603 -1] ) (case_arm pat_list: [{(restart)}] action: (CommandList children: [ (C {(log_daemon_msg)} {(DQ ("Restarting ") ($ VSub_Name "$DESC"))} {(DQ ($ VSub_Name "$NAME"))} ) (If arms: [ (if_arm cond: (Sentence command: (C {(start-stop-daemon)} {(--stop)} {(--quiet)} {(--retry)} {(5)} {(--oknodo)} {(--pidfile)} {($ VSub_Name "$PIDFILE")} {(--name)} {($ VSub_Name "$NAME")} ) terminator: <Op_Semi ";"> ) action: (C {(start-stop-daemon)} {(--start)} {(--quiet)} {(--pidfile)} {(DQ ($ VSub_Name "$PIDFILE"))} {(--exec)} {($ VSub_Name "$DAEMON")} ) spids: [-1 645] ) ] spids: [-1 665] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:status) rhs: {($ VSub_QMark "$?")} spids: [668] ) ] spids: [668] ) (C {(log_end_msg)} {($ VSub_Name "$status")}) ] ) spids: [606 607 677 -1] ) (case_arm pat_list: [{(status)}] action: (AndOr children: [ (C {(status_of_proc)} {(-p)} {(DQ ($ VSub_Name "$PIDFILE"))} {(DQ ($ VSub_Name "$DAEMON"))} {(DQ ($ VSub_Name "$NAME"))} ) (AndOr children: [(C {(exit)} {(0)}) (C {(exit)} {($ VSub_QMark "$?")})] op_id: Op_DPipe ) ] op_id: Op_DAmp ) spids: [680 681 713 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: (CommandList children: [ (SimpleCommand words: [ {(echo)} { (DQ ("Usage: ") ($ VSub_Name "$SCRIPTNAME") (" {start|stop|restart|force-reload|status}") ) } ] redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[728])] ) (C {(exit)} {(3)}) ] ) spids: [716 717 737 -1] ) ] spids: [334 340 739] ) (C {(exit)} {(0)}) ] )