Skip to content

Instantly share code, notes, and snippets.

@dmitriysafronov
Created October 23, 2016 16:10
Show Gist options
  • Save dmitriysafronov/1989408b726d93ba2b6f3f19e9086a1c to your computer and use it in GitHub Desktop.
Save dmitriysafronov/1989408b726d93ba2b6f3f19e9086a1c to your computer and use it in GitHub Desktop.
#!/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