#!/bin/bash
net=1520_ezhack_2
echo "Installing fswebcam..."
apt-get install fswebcam
echo "fswebcam installed successfully"
echo "Installing LogMeIn Hamachi and joining "$net"..."
wget -O h.rpm https://vpn.net/installers/logmein-hamachi-2.1.0.203-1.x86_64.rpm
rpm -i h.rpm
rm -rf h.rpm
hamachi login
hamachi join $net 2
history -c