(CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DAEMON) rhs:{(/usr/bin/pulseaudio)} spids:[40])] spids: [40] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:PIDDIR) rhs:{(/var/run/pulse)} spids:[43])] spids: [43] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PIDFILE) rhs: {($ VSub_Name "$PIDDIR") (/pid)} spids: [46] ) ] spids: [46] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DAEMONUSER) rhs:{(pulse)} spids:[50])] spids: [50] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PATH) rhs: {(/sbin) (Lit_Other ":") (/bin) (Lit_Other ":") (/usr/sbin) (Lit_Other ":") (/usr/bin)} spids: [53] ) ] spids: [53] ) (AndOr children: [(C {(test)} {(-x)} {($ VSub_Name "$DAEMON")}) (C {(exit)} {(0)})] op_id: Op_DPipe ) (C {(.)} {(/lib/lsb/init-functions)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:PULSEAUDIO_SYSTEM_START) rhs:{(0)} spids:[81])] spids: [81] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DISALLOW_MODULE_LOADING) rhs:{(1)} spids:[84])] spids: [84] ) (AndOr children: [(C {(test)} {(-f)} {(/etc/default/pulseaudio)}) (C {(.)} {(/etc/default/pulseaudio)})] op_id: Op_DAmp ) (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$PULSEAUDIO_SYSTEM_START"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ (1))} {(Lit_Other "]")} ) terminator: <Op_Semi ";"> ) action: (C {(exit)} {(0)}) spids: [-1 117] ) ] spids: [-1 124] ) (FuncDef name: pulseaudio_start body: (BraceGroup children: [ (C {(log_daemon_msg)} {(DQ ("Starting system PulseAudio Daemon"))}) (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(KW_Bang "!")} {(-d)} {($ VSub_Name "$PIDDIR")} {(Lit_Other "]")} ) terminator: <Op_Semi ";"> ) action: (CommandList children: [ (C {(mkdir)} {(-p)} {($ VSub_Name "$PIDDIR")}) (C {(chown)} {($ VSub_Name "$DAEMONUSER") (Lit_Other ":") ($ VSub_Name "$DAEMONUSER")} {($ VSub_Name "$PIDDIR")} ) ] ) spids: [-1 155] ) ] spids: [-1 174] ) (C {(start-stop-daemon)} {(-x)} {($ VSub_Name "$DAEMON")} {(-p)} {($ VSub_Name "$PIDFILE")} {(--start)} {(--)} {(--system)} {(--disallow-exit)} {(--disallow-module-loading) (Lit_Other "=") ($ VSub_Name "$DISALLOW_MODULE_LOADING")} {(--daemonize)} {(--log-target) (Lit_Other "=") (syslog)} {(--high-priority)} ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:status) rhs:{($ VSub_QMark "$?")} spids:[208])] spids: [208] ) (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(-e)} {(/var/run/pulse/.esd_auth)} {(Lit_Other "]")}) terminator: <Op_Semi ";"> ) action: (CommandList children: [ (C {(chown)} {(pulse) (Lit_Other ":") (pulse-access)} {(/var/run/pulse/.esd_auth)} ) (C {(chmod)} {(640)} {(/var/run/pulse/.esd_auth)}) ] ) spids: [-1 223] ) ] spids: [-1 242] ) (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(-e)} {(/var/run/pulse/.pulse-cookie)} {(Lit_Other "]")}) terminator: <Op_Semi ";"> ) action: (CommandList children: [ (C {(chown)} {(pulse) (Lit_Other ":") (pulse-access)} {(/var/run/pulse/.pulse-cookie)} ) (C {(chmod)} {(640)} {(/var/run/pulse/.pulse-cookie)}) ] ) spids: [-1 256] ) ] spids: [-1 275] ) (C {(log_end_msg)} {(${ VSub_Name status)}) ] spids: [132] ) spids: [127 131] ) (FuncDef name: pulseaudio_stop body: (BraceGroup children: [ (C {(log_daemon_msg)} {(DQ ("Stopping system PulseAudio Daemon"))}) (AndOr children: [ (C {(start-stop-daemon)} {(-p)} {($ VSub_Name "$PIDFILE")} {(--stop)} {(--retry)} {(5)}) (C {(echo)} {(-n)} {(DQ ("...which is not running"))}) ] op_id: Op_DPipe ) (C {(log_end_msg)} {($ VSub_QMark "$?")}) ] spids: [292] ) spids: [287 291] ) (Case to_match: {(DQ ($ VSub_Number "$1"))} arms: [ (case_arm pat_list: [{(start)} {(stop)}] action: (C {(pulseaudio_) (${ VSub_Number 1)}) spids: [341 344 353 -1] ) (case_arm pat_list: [{(restart)} {(force-reload)}] action: (If arms: [ (if_arm cond: (Sentence command: (AndOr children: [ (C {(Lit_Other "[")} {(-s)} {($ VSub_Name "$PIDFILE")} {(Lit_Other "]")}) (SimpleCommand words: [ {(kill)} {(-0)} { (CommandSubPart command_list: (C {(cat)} {($ VSub_Name "$PIDFILE")}) spids: [378 382] ) } ] redirects: [ (Redirect op_id: Redir_Great arg_word: {(/dev/null)} fd: -1 spids: [384] ) (Redirect op_id: Redir_GreatAnd arg_word: {(1)} fd: 2 spids: [387] ) ] ) ] op_id: Op_DAmp ) terminator: <Op_Semi ";"> ) action: (CommandList children:[(C {(pulseaudio_stop)})(C {(pulseaudio_start)})]) spids: [-1 391] ) ] spids: [-1 400] ) spids: [356 359 403 -1] ) (case_arm pat_list: [{(force-stop)}] action: (CommandList children: [ (C {(pulseaudio_stop)}) (AndOr children: [(C {(killall)} {(pulseaudio)}) (C {(true)})] op_id: Op_DPipe ) (C {(sleep)} {(2)}) (AndOr children: [(C {(killall)} {(-9)} {(pulseaudio)}) (C {(true)})] op_id: Op_DPipe ) ] ) spids: [406 407 438 -1] ) (case_arm pat_list: [{(status)}] action: (AndOr children: [ (C {(status_of_proc)} {(-p)} {($ VSub_Name "$PIDFILE")} {(DQ ($ VSub_Name "$DAEMON"))} {(DQ ("system-wide PulseAudio"))} ) (AndOr children: [(C {(exit)} {(0)}) (C {(exit)} {($ VSub_QMark "$?")})] op_id: Op_DPipe ) ] op_id: Op_DAmp ) spids: [441 442 472 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: (CommandList children: [ (C {(echo)} { (DQ ( "Usage: /etc/init.d/pulseaudio {start|stop|force-stop|restart|force-reload|status}" ) ) } ) (C {(exit)} {(1)}) ] ) spids: [475 476 491 -1] ) ] spids: [332 338 493] ) (C {(exit)} {(0)}) ] )