Skip to content

Instantly share code, notes, and snippets.

View adonistseriotis's full-sized avatar

Adonis Tseriotis adonistseriotis

View GitHub Profile
@adonistseriotis
adonistseriotis / setup-ap.sh
Created April 28, 2023 12:15
Setup your Raspberry Pi as a Wi-Fi access point
#!/bin/bash
# Helper log function
log () {
local COLOR='\033[0;32m' # Blue color code
case "${2}" in
error) COLOR='\033[0;31m';;
warning) COLOR='\033[1;33m';;
esac
local NC='\033[0m' # No color code