#!/bin/bash

echo Restoring wpa_supplicant...
sed -i 's/#Exec/Exec/' /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service || true

echo Restoring dynamic IP address...
sed -e '/Soft-AP mode for wlan0/,+4d' -i /etc/network/interfaces
