update
This commit is contained in:
1 parent
83db094f02
commit
a4885963d8
3 files changed
+30
-4
No files matched your search
@@ -62,7 +62,7 @@ Description=Hotspot Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecPre=/bin/sleep 5
|
||||
ExecPre=/bin/sleep 2
|
||||
ExecStart=create_ap wlan0 eth0 Takway-Toys --no-virt
|
||||
User=root
|
||||
|
||||
@@ -117,7 +117,7 @@ Wants=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=python3 /home/orangepi/wifi_hotpot/wifi_manager.py
|
||||
ExecStart=/bin/bash /home/orangepi/wifi_hotpot/start_hotpots.sh
|
||||
WorkingDirectory=/home/orangepi/wifi_hotpot
|
||||
User=root
|
||||
|
||||
@@ -136,6 +136,7 @@ sudo systemctl enable wifi_hotspot.service
|
||||
|
||||
```
|
||||
sudo systemctl start wifi_hotspot.service
|
||||
# sudo systemctl stop wifi_hotspot.service
|
||||
```
|
||||
|
||||
- 查看输出
|
||||
|
||||
Reference in new issue
Block a user