(command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ (command_sub left_token:<Id.Left_DollarParen '$('> child:(C {<pwd>})))} {<Id.Lit_Equals '='>} {(DQ <'/'>)} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<export>} {<Id.Lit_VarLike 'TEXTDOMAIN='> <frisbee>}) (C {<export>} {<Id.Lit_VarLike 'OUTPUT_CHARSET='> <UTF-8>}) (command.Simple words: [{<rm>} {<-f>} {<'etc/frisbee/.'> <Id.Lit_Star '*'>}] redirects: [(redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<'/dev/null'>})] do_fork: T ) (C {<rm>} {<-f>} {<'usr/local/frisbee/hook_notify'>}) (command.Simple words: [{<rm>} {<-rf>} {<'etc/frisbee/iface'>}] redirects: [(redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<'/dev/null'>})] do_fork: T ) (C {<rm>} {<-f>} {<'root/Startup/network_tray_modeset'>}) (C {<rm>} {<-f>} {<'etc/dhcpcd_dropwait_secs'>}) (C {<rm>} {<-f>} {<'etc/frisbee/interfaces'>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-d>} {<'lib/dhcpcd/dhcpcd-hooks'>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<rm>} {<-f>} {<'lib/dhcpcd/dhcpcd-hooks/99-frisbee'>}) (C {<rm>} {<-f>} {<'lib/dhcpcd/dhcpcd-hooks/99-down'>}) (C {<rm>} {<-f>} {<'lib/dhcpcd/dhcpcd-hooks/99-ifup'>}) (C {<rm>} {<-f>} {<'lib/dhcpcd/dhcpcd-hooks/99-release'>}) (C {<rm>} {<-f>} {<'lib/dhcpcd/dhcpcd-hooks/99-timeout'>}) (C {<rm>} {<-f>} {<'lib/dhcpcd/dhcpcd-hooks/99-up'>}) ] spids: [121 131] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-h>} {<'usr/libexec/dhcpcd-hooks'>} {<-a>} {<-d>} {<'usr/libexec/dhcpcd-hooks'>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<rm>} {<-f>} {<'usr/libexec/dhcpcd-hooks/99-frisbee'>}) (C {<rm>} {<-f>} {<'usr/libexec/dhcpcd-hooks/99-down'>}) (C {<rm>} {<-f>} {<'usr/libexec/dhcpcd-hooks/99-ifup'>}) (C {<rm>} {<-f>} {<'usr/libexec/dhcpcd-hooks/99-release'>}) (C {<rm>} {<-f>} {<'usr/libexec/dhcpcd-hooks/99-timeout'>}) (C {<rm>} {<-f>} {<'usr/libexec/dhcpcd-hooks/99-up'>}) ] spids: [179 197] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-d>} {<'usr/lib/dhcpcd/dhcpcd-hooks'>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<rm>} {<-f>} {<'usr/lib/dhcpcd/dhcpcd-hooks/99-frisbee'>}) (C {<rm>} {<-f>} {<'usr/lib/dhcpcd/dhcpcd-hooks/99-down'>}) (C {<rm>} {<-f>} {<'usr/lib/dhcpcd/dhcpcd-hooks/99-ifup'>}) (C {<rm>} {<-f>} {<'usr/lib/dhcpcd/dhcpcd-hooks/99-release'>}) (C {<rm>} {<-f>} {<'usr/lib/dhcpcd/dhcpcd-hooks/99-timeout'>}) (C {<rm>} {<-f>} {<'usr/lib/dhcpcd/dhcpcd-hooks/99-up'>}) ] spids: [245 255] ) ] ) (C {<rm>} {<-f>} {<'usr/sbin/install-frisbee'>}) (C {<rm>} {<-f>} {<'usr/share/applications/install-frisbee.desktop'>}) (C {<rm>} {<-fr>} {<'usr/share/frisbee'>}) (C {<rm>} {<-f>} {<'usr/local/bin/fgprs_'> <Id.Lit_Star '*'> <connect>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<grep>} {<-sq>} {(SQ <'nohook 10-wpa_supplicant'>)} {<'etc/frisbee/dhcpcd.conf'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<sed>} {<-i>} {(SQ <'/nohook 10-wpa_supplicant/d'>)} {<'etc/frisbee/dhcpcd.conf'>}) ] spids: [351 363] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-f>} {<'etc/init.d/frisbee'>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<chmod>} {<a-x>} {<'etc/init.d/frisbee'>}) (command.Sentence child: (command.Subshell child: (command.CommandList children: [ (C {<sleep>} {<3>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_DollarParen '$('> child: (command.Simple words: [ {<ls>} {<'root/.packages/frisbee-1.'> <Id.Lit_Star '*'> <.files> } ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) ) } {<Id.Lit_RBracket ']'>} ) (C {<sed>} {<-i>} {(SQ <'s%/etc/init.d/frisbee.sh%/etc/init.d/frisbee\\n&%'>)} {<'root/.packages/frisbee-1.'> <Id.Lit_Star '*'> <.files>} ) ] ) ] ) ) terminator: <Id.Op_Amp _> ) ] spids: [385 395] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-x>} {<'usr/sbin/connectwizard'>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<sed>} {<-i>} {(SQ <'/^NoDisplay=/ s/=.*/=false/'>)} {<'usr/share/applications/frisbee.desktop'>} ) ] spids: [469 481] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Xdialog>} {<--title>} {(DQ <Frisbee>)} {<--default-no>} {<--timeout>} {<60>} {<--ok-label>} {(DQ <'Yes, set as default'>)} {<--cancel-label>} {(DQ <No>)} {<--left>} {<--yesno>} { (DQ (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<gettext>} { (DQ < 'Frisbee is installed as one of the Connect Wizard network manager options.' > ) } ) ) <Id.Lit_BadBackslash '\\'> <n> <Id.Lit_BadBackslash '\\'> <n> (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<gettext>} { (DQ < 'Do you want frisbee to be the default network manager at the next boot-up or' > <Id.Lit_BadBackslash '\\'> <'nat the initial boot of a distro package?'> ) } ) ) ) } {<0>} {<0>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Simple words: [{<echo>} {<-e>} {(SQ <'#!/bin/sh\\nexec frisbee'>)}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'usr/local/bin/defaultconnect'>} ) ] do_fork: T ) (C {<sed>} {<-i>} {<-e>} {(SQ <'/^frisbee_mode=/ s/=.*/=1/'>)} {<-e>} {(SQ <'/^wireless_enabled=/ s/=.*/=1/'>)} {<-e>} {(SQ <'/^wireless_autostart=/ s/=.*/=1/'>)} {<-e>} {(SQ <'/^announce_state_changes=/ s/=.*/=1/'>)} {<'etc/frisbee/frisbee.conf'>} ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<Id.Lit_LBracket '['>} {<-f>} {<'etc/dhcpcd_state_notify'>} {<Id.Lit_RBracket ']'>} ) (C {<touch>} {<'etc/dhcpcd_state_notify'>}) ] ) ] spids: [505 564] ) ] else_action: [(C {<rm>} {<-f>} {<'etc/dhcpcd_state_notify'>})] ) (C {<rm>} {<-f>} {<'usr/local/bin/frisbee_mode_disable'>}) (C {<rm>} {<-f>} {<'usr/local/frisbee/connect'>}) (C {<rm>} {<-f>} {<'usr/local/frisbee/disconnect'>}) (C {<rm>} {<-f>} {<'usr/local/bin/frisbee_cli'>}) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.Pipeline children: [ (C {<grep>} {<-qE>} {(SQ <'frisbee --|frisbee_cli --'>)} {<'usr/local/apps/Connect/AppRun'>} ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<ln>} {<-snf>} {<frisbee>} {<'usr/local/bin/frisbee_mode_disable'>}) (C {<ln>} {<-snf>} {<'../bin/frisbee'>} {<'usr/local/frisbee/connect'>}) (C {<ln>} {<-snf>} {<'../bin/frisbee'>} {<'usr/local/frisbee/disconnect'>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_DollarParen '$('> child: (command.Simple words: [ {<ls>} {<'root/.packages/frisbee-1.'> <Id.Lit_Star '*'> <.files>} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) ) } {<Id.Lit_RBracket ']'>} ) (C {<sed>} {<-i>} {<-e>} {(SQ <'s%/usr/local/bin/frisbee$%&\\n/usr/local/bin/frisbee_mode_disable%'>)} {<-e>} { (SQ < 's%/usr/local/frisbee/frisbee-gprs-connect$%/usr/local/frisbee/connect\\n/usr/local/frisbee/disconnect\\n&%' > ) } {<'root/.packages/frisbee-1.'> <Id.Lit_Star '*'> <.files>} ) ] ) ] spids: [680 694] ) (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<grep>} {<-q>} {(SQ <'frisbee_cli --'>)} {<'usr/local/apps/Connect/AppRun'>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<ln>} {<-snf>} {<frisbee>} {<'usr/local/bin/frisbee_cli'>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} { (DQ (command_sub left_token: <Id.Left_DollarParen '$('> child: (command.Simple words: [ {<ls>} {<'root/.packages/frisbee-1.'> <Id.Lit_Star '*'> <.files>} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) ) ) } {<Id.Lit_RBracket ']'>} ) (C {<sed>} {<-i>} {<-e>} {(SQ <'s%/usr/local/bin/frisbee$%&\\n/usr/local/bin/frisbee_cli%'>)} {<'root/.packages/frisbee-1.'> <Id.Lit_Star '*'> <.files>} ) ] ) ] spids: [770 782] ) ] ) (C {<rm>} {<-f>} {<'etc/gprs.conf'>}) (C {<rm>} {<-f>} {<'root/.config/gprs.conf'>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {<-f>} {<'usr/sbin/pgprs'>} {<Id.Lit_RBracket ']'>}) (C {<rm>} {<-f>} {<'etc/ppp/options.gprs'>}) ] ) ] spids: [20 38] ) ] )