(command.If
  arms: [
    (if_arm
      cond: 
        (condition.Shell
          commands: [
            (C {<Id.Lit_LBracket '['>} {<-n>} {(DQ ($ Id.VSub_DollarName '$WIFI_DRIVER_SOCKET_IFACE'))} 
              {<Id.Lit_RBracket ']'>}
            )
          ]
        )
      action: [
        (command.Pipeline
          children: [
            (command.Simple
              words: [
                {<sed>}
                {<-e>}
                {(SQ <'s/#.*$//'>)}
                {<-e>}
                {(SQ <'s/[ \\t]*$//'>)}
                {<-e>}
                {(SQ <'/^$/d'>)}
              ]
              redirects: [
                (redir
                  op: <Id.Redir_Less '<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: {($ Id.VSub_Number '$1')}
                )
              ]
              do_fork: T
            )
            (C {<sed>} {<-e>} 
              {(DQ <'s/wlan0/'> ($ Id.VSub_DollarName '$WIFI_DRIVER_SOCKET_IFACE') <'/'>)}
            )
          ]
          negated: F
        )
      ]
      spids: [28 40]
    )
  ]
  else_action: [
    (command.Simple
      words: [{<sed>} {<-e>} {(SQ <'s/#.*$//'>)} {<-e>} {(SQ <'s/[ \\t]*$//'>)} {<-e>} {(SQ <'/^$/d'>)}]
      redirects: [(redir op:<Id.Redir_Less '<'> loc:(redir_loc.Fd fd:0) arg:{($ Id.VSub_Number '$1')})]
      do_fork: T
    )
  ]
)