mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
stupid bash syntax
This commit is contained in:
parent
baf3dac35f
commit
5b2143d814
2 changed files with 4 additions and 4 deletions
|
@ -201,9 +201,9 @@ systemctl unmask hostapd 2>&1 # On some system e.g. RPi, for some reason hostapd
|
|||
|
||||
if [[ -n ${wifi_device} ]]; then
|
||||
if [ "${wifi_secure}" -eq 1 ]; then
|
||||
local sec_comment=""
|
||||
sec_comment=""
|
||||
else
|
||||
local sec_comment="#"
|
||||
sec_comment="#"
|
||||
fi
|
||||
|
||||
ynh_add_config --template="/etc/hostapd/$app/hostapd.conf.tpl" --destination="/etc/hostapd/$app/hostapd.conf"
|
||||
|
|
|
@ -206,9 +206,9 @@ install -b -o root -g root -m 0644 ../conf/dnsmasq_dhcpdv4.conf.tpl /etc/dnsmasq
|
|||
|
||||
if [[ -n ${wifi_device} ]]; then
|
||||
if [ "${wifi_secure}" -eq 1 ]; then
|
||||
local sec_comment=""
|
||||
sec_comment=""
|
||||
else
|
||||
local sec_comment="#"
|
||||
sec_comment="#"
|
||||
fi
|
||||
|
||||
ynh_add_config --template="/etc/hostapd/$app/hostapd.conf.tpl" --destination="/etc/hostapd/$app/hostapd.conf"
|
||||
|
|
Loading…
Reference in a new issue