net/net_dhcp.sh
author Shingo W. Kagami
Sun, 19 Sep 2010 05:55:48 +0900
changeset 5 105778ace30a
permissions -rw-r--r--
Have ppt_printout_ps.vbs take the printer name as an argument.
Misc. changes in Makefile.sample.
Shingo@2
     1
#!/bin/sh
Shingo@2
     2
Shingo@2
     3
conn="ローカル エリア接続"
Shingo@2
     4
if [ "X$1" = "Xwireless" ]; then
Shingo@2
     5
    conn="ワイヤレス ネットワーク接続"
Shingo@2
     6
fi
Shingo@2
     7
Shingo@2
     8
netsh interface ip set address "$conn" dhcp
Shingo@2
     9
netsh interface ip set dns "$conn" dhcp