Skip to content

Instantly share code, notes, and snippets.

View gunith's full-sized avatar
🎯
Focusing

Gunith gunith

🎯
Focusing
View GitHub Profile
#!/bin/bash
### Setup a wifi Access Point on Ubuntu 12.04 (or its derivatives).
### make sure that this script is executed from root
if [ $(whoami) != 'root' ]
then
echo "
This script should be executed as root or with sudo:
sudo $0
"