net/net_dhcp.sh
author Shingo W. Kagami
Sun, 31 Jan 2010 02:58:12 +0900
changeset 3 cce8365a9d50
permissions -rw-r--r--
Add winactivate.vbs.
     1 #!/bin/sh
     2 
     3 conn="ローカル エリア接続"
     4 if [ "X$1" = "Xwireless" ]; then
     5     conn="ワイヤレス ネットワーク接続"
     6 fi
     7 
     8 netsh interface ip set address "$conn" dhcp
     9 netsh interface ip set dns "$conn" dhcp