/lib/dhcpcd/dhcpcd-hooks/90-local
case "$reason" in
BOUND6|RENEW6|REBIND6|REBOOT)
case "$interface" in
wlan0)
case `iw dev $interface link | sed -ne 's#.*SSID: \(.*\)$#\1#p'` in
MosMetro_Free)
echo mosmetro | logger
echo nameserver 10.1.1.10 > /etc/resolv.conf
echo nameserver 10.1.1.11 >> /etc/resolv.conf
curl -s 'http://authrad.vmet.ro/?switch_url=http://1.1.1.1/login.html&ap_mac=58:0a:20:0d:13:b0&client_mac=00:00:00:00:00:00&wlan=MosMetro_Free' > /dev/null
curl -s 'http://1.1.1.1/login.html' -d 'buttonClicked=4&username=mosmetro&password=gfhjkm&redirect_url=http%3A%2F%2Fvmet.ro%3Flang%3Dru%26redirect%3D%26line%3D32%26UID%3D&err_flag=0' > /dev/null
;;
esac
;;
esac;;
esac