ok, das schonmal ne gute information!
müsste dann ja so aussehen oder?
#!/bin/sh
clear
Echo Router reconnect: AVM FRITZ!BOX FON WLAN 7170
`curl "http://192.168.10.10:49000/upnp/control/WANIPConn1" -H "Content-Type: text/xml; charset="utf-8"" -H "SoapAction:urn:schemas-upnp-org:service:WANIPConnection:1#ForceTermination" -d "<?xml version='1.0' encoding='utf-8'?> <s:Envelope s:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'> <s:Body> <u:ForceTermination xmlns:u='urn:schemas-upnp-org:service:WANIPConnection:1' /> </s:Body> </s:Envelope>"`
nur was mit...:
echo MsgBox "Router neugestartet", VBInformation + VbOKOnly, "Astalavista" >%TEMP%\os.vbs
START %TEMP%\os.vbs
die message box heißt in der bash bzw unix doch bestimmt anders oder?
und der pfad müsste sich auch unterscheiden?!
danke schonmal
grüße dave