mirror of
https://github.com/PiSugar/PiSugar.git
synced 2026-12-03 13:20:10 -05:00
Updated PiSugar WiFi config (markdown)
parent
838f933013
commit
c1aa43fb64
1 changed files with 6 additions and 11 deletions
|
|
@ -24,24 +24,19 @@ If you don't have wechat, you can use web-bluetooth to connect to your pi. Make
|
|||
|
||||
### Quick Install
|
||||
```
|
||||
wget http://cdn.pisugar.com/release/sugarwificonfig.sh -O- | sh
|
||||
curl https://cdn.pisugar.com/PiSugar-wificonfig/script/install.sh | sudo bash
|
||||
|
||||
# the script will add sugar-wifi-conf as a systemd service so that it can run on startup
|
||||
```
|
||||
|
||||
### Install from Github
|
||||
### Optional Parameters
|
||||
```
|
||||
git clone https://github.com/PiSugar/sugar-wifi-conf.git
|
||||
sudo -s . ./sugar-wifi-conf/wificonfig.sh
|
||||
|
||||
# the scrpit will add sugar-wifi-conf to /etc/rc.local so that it can run on startup
|
||||
|
||||
## optional parameters
|
||||
|
||||
# edit /etc/rc.local to append parameters to execute path
|
||||
# edit /etc/systemd/system/sugar-wifi-config.service to append parameters to execute path
|
||||
# param 1: key
|
||||
# param 2: path to custom config file
|
||||
# example:
|
||||
sudo /home/pi/sugar-wifi-conf/build/sugar-wifi-conf pisugar /home/pi/sugar-wifi-conf/custom_config.json
|
||||
|
||||
sudo bash /opt/sugar-wifi-config/run.sh pisugar /opt/sugar-wifi-config/build/custom_config.json
|
||||
```
|
||||
|
||||
### Custom configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue