1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00
Commit graph

224 commits

Author SHA1 Message Date
HgO
ecf91a8ecd restore files with magic 2024-01-02 10:59:14 +01:00
Alexandre Aubin
2d38e95ea3 Disable the classic hostapd service because we're using hostapd@$app instead, otherwise it'll flood logs x_x 2023-12-31 17:34:29 +01:00
Alexandre Aubin
f224340e04 Merge remote-tracking branch 'origin/master' into packagingv2 2023-11-27 23:16:26 +01:00
Alexandre Aubin
366beb69b3 wifi_passphrase must be saved explicitly 2023-11-27 23:10:12 +01:00
Alexandre Aubin
7127e3b3a1 Fix start/restart of the service during config panel operation, we have to use 'yunohost service' otherwise the lock is not transferred 2023-10-08 13:07:32 +02:00
Alexandre Aubin
ddb9324084 Yolo packaging v2 2023-10-06 18:36:24 +02:00
Alexandre Aubin
1d9844f997 Use 'yunohost service start' instead of 'ynh_systemd_action' such that yunohost properly gives the lock to the 'yunohost tools regen-conf' inside the service 2023-10-05 20:34:32 +02:00
Alexandre Aubin
cf03447866 Oopsies 2023-10-05 19:27:55 +02:00
Alexandre Aubin
8449fc5ac8 Delete boring legacy /etc/dnsmasq.d/$app.conf if it exists 2023-10-05 19:08:51 +02:00
Alexandre Aubin
3e2bd872ce Cleanup/propagate stuff to config panel controller as well 2023-10-05 19:05:13 +02:00
Alexandre Aubin
b80ee8b347 Cleanup the whole stuff with .tpl file ... we don't need to copy them to intermediate locations, nor to backup/restore them... 2023-10-05 19:00:56 +02:00
Alexandre Aubin
3a72871641 follow-up of previous commit : we probably need yunohost's lock to be able to trigger the regenconf from inside the service script 2023-10-05 18:49:41 +02:00
Alexandre Aubin
f40082a94c yolo: we shouldn't need to add an app-specific conf for dnsmasq only to add 'interface=wlanX', it's already handled by the core, we just need to regen-conf dnsmasq when we start/stop the hotspot ? 2023-10-05 18:45:03 +02:00
Alexandre Aubin
f55f117625 Fix indent in _common.sh 2023-10-05 18:26:41 +02:00
HgO
ddc23c17b5 stop / start hotspot through systemd 2023-09-24 20:14:16 +02:00
HgO
15ef276917 fix unbound dns variables + check if hotspot is enabled before starting it + cleanup stuff when hotspot is disabled 2023-09-24 11:34:54 +02:00
HgO
e3a4f9e34a remove duplicate config 2023-09-22 18:23:16 +02:00
HgO
92876e023e add checks before closing dhcp ports 2023-09-22 18:12:20 +02:00
HgO
5d7a9ca16e restart dnsmasq to apply config change 2023-09-22 17:44:27 +02:00
HgO
fe15d2e575 restart dnsmasq to apply config change 2023-09-22 17:41:44 +02:00
HgO
2b60fee9f2 configure dnsmasq to enable dns resolver on wifi interface 2023-09-22 17:33:14 +02:00
HgO
5205776551 declare empty vars for ip6_net and ip6_dns 2023-09-18 10:48:18 +02:00
HgO
ac6cff8a93 init ip6_net and ip6_dns vars 2023-09-18 09:39:50 +02:00
Alexandre Aubin
3be5d12a97
Merge branch 'testing' into remove_multissid 2023-09-17 22:04:16 +02:00
Alexandre Aubin
c39e31a92c
Code review / add quotes around suspicious vars that may be empty 2023-09-17 21:57:39 +02:00
HgO
2f0dfecca5 don't guess ipv6 prefix from vpnclient app 2023-08-24 09:56:08 +02:00
HgO
1d5d14162c typo 2023-08-24 08:45:34 +02:00
HgO
20cd43340c Revert "fix firewall port warning"
This reverts commit ee04b0449b.
2023-08-23 15:46:15 +02:00
HgO
7803699e66 display unused wifi devices 2023-08-23 10:24:43 +02:00
HgO
ee04b0449b fix firewall port warning 2023-08-22 15:26:24 +02:00
HgO
2a1aa43954 setup advanced setting 2023-08-22 15:09:30 +02:00
HgO
69478cd6e2 create functions for configuring hostapd and dhcp 2023-08-22 14:51:13 +02:00
HgO
a4a99e70f6 fix config panel 2023-08-22 09:28:36 +02:00
HgO
60e2cdd1d7 fix check hostapd status 2023-08-21 23:24:01 +02:00
HgO
5e89bf7d91 scan wifi devices earlier 2023-08-21 23:14:42 +02:00
HgO
b840bac031 delete legacy files only when multissid detected 2023-08-21 23:12:27 +02:00
HgO
3e0b11f919 fix backup config 2023-08-21 22:55:37 +02:00
HgO
5b2143d814 stupid bash syntax 2023-08-21 22:46:38 +02:00
HgO
baf3dac35f apply config during install and upgrade 2023-08-21 22:40:58 +02:00
HgO
9b6ba3ec5a fix config run 2023-08-21 22:16:26 +02:00
HgO
da0c4095a8 run config after install 2023-08-21 22:07:05 +02:00
HgO
eaf7b994b0 fix unbound var 2023-08-21 21:59:27 +02:00
HgO
ee19798159 fix exec permissions 2023-08-21 19:19:24 +02:00
HgO
8f6da7c103 fix cleanup 2023-08-21 19:16:02 +02:00
HgO
35eb80ef4a remove .service prefix 2023-08-21 19:09:11 +02:00
HgO
538826b32e enable multi instance 2023-08-21 18:43:20 +02:00
HgO
d6b5dc62c5 custom systemd config for hostapd to handle multiple instances 2023-08-21 16:17:22 +02:00
HgO
676e6d9733 backup, restore & remove config files 2023-08-21 11:04:39 +02:00
HgO
ee1f3cd176 fix restore 2023-08-21 10:52:04 +02:00
HgO
40534c2ac4 prefill dns settings from nat and ipv6 prefix 2023-08-21 10:51:37 +02:00