User Profile

Userpic

Мысли перед сном

не только кошмарные...

    Basic Info
    Name:dioremal
    Birthdate:1983-02-02
    Location:urai, Russian Federation
    Bio
    #!/usr/local/bin/bash
    MHOST=127.0.0.1 # mpd host
    MPORT=5555 # mpd telnet port
    IP="$3";

    test -z "$IP" && exit 1
    for bundle in `echo "bundle" | /usr/bin/nc $MHOST $MPORT | grep Opened | awk '{print $1}'`;
    do
    if echo -e "bundle $bundle\\nshow iface" | /usr/bin/nc $MHOST $MPORT | grep "${IP}$" >/dev/null 2>&1
    then
    echo -e "bundle $bundle\\nclose phys" | /usr/bin/nc $MHOST $MPORT >/dev/null 2>&1
    fi
    done;
    exit 0;
    Connect
    Friends [View Entries]
    Communities [View Entries]

    Watching (2):

    Member of (2):

    Feeds [View Entries]

    Watching (0)

    Create an Account
    Forgot your login or password?
    Facebook Twitter More login options
    English • Español • Deutsch • Русский…