I used command-line tool for controlling NetworkManager (
nmcli) to "Turn On Wi-Fi Hotspot", like following:
# nmcli device wifi hotspot ssid X password X ifname wlan1 Device 'wlan1' successfully activated with 'a8168e88-e391-45b9-95e3-5b66fb10fd31'. #
Is there a way preserve this state somehow? Otherwise after restart I have to re-run same command again.