diff -r 577963cc46fc -r 3473a6fcda66 net/net_dhcp.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net/net_dhcp.sh Fri Jan 22 12:17:18 2010 +0900 @@ -0,0 +1,9 @@ +#!/bin/sh + +conn="ローカル エリア接続" +if [ "X$1" = "Xwireless" ]; then + conn="ワイヤレス ネットワーク接続" +fi + +netsh interface ip set address "$conn" dhcp +netsh interface ip set dns "$conn" dhcp