mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
Update upgrade
This commit is contained in:
parent
979e467ef0
commit
69a212d5da
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
yunohost_setting() {
|
||||
grep "^${1}:" "/etc/yunohost/apps/hotspot/settings.yml" | sed s/^[^:]\\+:\\s*[\"\']\\?// | sed s/\\s*[\"\']\$//
|
||||
sudo grep "^${1}:" "/etc/yunohost/apps/hotspot/settings.yml" | sed s/^[^:]\\+:\\s*[\"\']\\?// | sed s/\\s*[\"\']\$//
|
||||
}
|
||||
|
||||
domain=$(yunohost_setting domain)
|
||||
|
@ -16,8 +16,8 @@ else
|
|||
fi
|
||||
|
||||
export HOTSPOT_UPGRADE=1
|
||||
/etc/yunohost/apps/hotspot/scripts/remove
|
||||
./install "${domain}" "${path}" "${wifi_ssid}" "${wifi_passphrase}" "${firmware_nonfree}"
|
||||
bash /etc/yunohost/apps/hotspot/scripts/remove
|
||||
bash ./install "${domain}" "${path}" "${wifi_ssid}" "${wifi_passphrase}" "${firmware_nonfree}"
|
||||
|
||||
sudo systemctl start ynh-hotspot
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue