This is a script to start WiFi Hotspot automatically.
自动开启WiFi热点的脚本。
Use the following command to install the script.
使用下面的命令来安装脚本。
sudo cp hotspotctl /etc/init.d/
sudo chmod a+x /etc/init.d/hotspotctl
Use the following command to start this script automatically at login:
使用下面的命令来使该脚本在登录时自动启动:
sudo update-rc.d hotspotctl defaults
- General service operation / 普通服务的操作
- Use the following command to check the state of the hotspot:
使用下面的命令来检查热点状态:
sudo service hotspotctl state