net/net_dhcp.sh
changeset 2 3473a6fcda66
equal deleted inserted replaced
-1:000000000000 0:845d515abdc0
       
     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