Created
October 23, 2016 16:10
-
-
Save dmitriysafronov/1989408b726d93ba2b6f3f19e9086a1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum install -y wget tcl | |
######## | |
OLD_PWD="${PWD}" | |
######## | |
mkdir -p /tmp/usb_modeswitch | |
cd /tmp/usb_modeswitch | |
wget http://repo.iotti.biz/CentOS/6/noarch/usb_modeswitch-data-20130610-1.el6.lux.1.noarch.rpm | |
wget http://repo.iotti.biz/CentOS/6/x86_64/usb_modeswitch-1.2.6-1.el6.lux.1.x86_64.rpm | |
yum install -y *.rpm | |
######## | |
rm -rf /tmp/usb_modeswitch | |
######## | |
cd "${OLD_PWD}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment