cygwin下:
#!/bin/bash
echo -e "in: for install driver \nun: for uninstall driver"
if [ $1 = "in" ];then
echo -e "install driver..."
mv Win_Driver*.zip tg_driver.zip
./unzip_driver.bat
#install driver
cd tg_driver/Win_Driver*
ls
cd win
cygwin下:
#!/bin/bash
echo -e "in: for install driver \nun: for uninstall driver"
if [ $1 = "in" ];then
echo -e "install driver..."
mv Win_Driver*.zip tg_driver.zip
./unzip_driver.bat
#install driver
cd tg_driver/Win_Driver*
ls
cd win