#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
apt-get update -y
apt-get install -y hostapd dnsmasq dhcpcd5
apt-get remove network-manager modemmanager dhcpcd
cp direct/* /usr/local/Repetier-Setup/bin
cp templates/* /usr/local/Repetier-Setup/templates
cd /usr/local/Repetier-Setup/bin
./activateWLAN

