Reply - Raw
#!/bin/bash

while true; do
    while ! curl http://oddstr13.openshell.no/ip/; do
        /usr/bin/netctl restart wlan0-Solvang
        sleep 5
    done
    sleep 30
done