Files
mapper/scripts/switch-to-client.sh
2026-03-10 20:48:09 +00:00

15 lines
297 B
Bash

#!/bin/bash
echo "Switching to Client Mode..."
# Stop AP services
systemctl stop hostapd
systemctl stop dnsmasq
# Start wpa_supplicant
systemctl start wpa_supplicant
# Normally would trigger a re-scan or wait for IP
# dhclient wlan0
echo "Client Mode active. Connecting to configured SSID..."