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

103 commits

Author SHA1 Message Date
HgO
d16e8f5503 obviously it won't work in quiet mode... 2023-12-19 10:42:31 +01:00
HgO
80e29842d9 check if ynh-hotspot is activating 2023-12-18 14:33:53 +01:00
HgO
a4fe4d0406 remove export PATH variable as it will be provided by run-parts script 2023-11-20 17:22:17 +01:00
HgO
9195d3d64d export PATH variable and remove yunohost helpers 2023-11-20 11:54:47 +01:00
HgO
0642570974 use yunohost helper instead of cli 2023-11-19 15:33:13 +01:00
HgO
6ef195c867 check if nat not already set before applying nat rule 2023-11-18 21:45:01 +01:00
HgO
689f00983c check if hotspot is enabled before applying nat rules 2023-11-18 21:42:48 +01:00
HgO
b5cd8bd1a3 openvpn client reload only nat rules instead of whole hotspot 2023-11-18 19:18:15 +01: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
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
HgO
0dcddf281c fix typo in dnsmasq pid name 2023-09-24 20:13:54 +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
Alexandre Aubin
3be5d12a97
Merge branch 'testing' into remove_multissid 2023-09-17 22:04:16 +02:00
Alexandre Aubin
92f06b9e45
Merge pull request #105 from YunoHost-Apps/fix_dhcp_cleanup
Fix DHCP cleanup
2023-09-17 21:56:03 +02:00
HgO
5d8ea57e2a fix start dhcp 2023-08-21 19:35:38 +02:00
HgO
4bbf247394 fix service enabled 2023-08-21 19:27:40 +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
c05667cdbb fix dns config 2023-08-20 16:20:20 +02:00
HgO
f02097b99e remove multissid 2023-08-20 15:22:11 +02:00
HgO
4325af2a2b Merge branch 'remove_openvpn_coupling' of github.com:YunoHost-Apps/hotspot_ynh into remove_multissid 2023-08-20 15:07:15 +02:00
HgO
dceb955917 ensure process from pid is running and remove pid file 2023-08-16 21:04:42 +02:00
HgO
2d8b586794 remove openvpn coupling 2023-08-16 20:39:02 +02:00
HgO
c1246b4963 make use of pid files 2023-08-16 20:35:58 +02:00
HgO
643d8eaf52 fix dhcp cleanup 2023-08-16 20:23:08 +02:00
Alexandre Aubin
1acbfc6c66 Fix check that hotspot1 is up in multissid context 2021-11-27 18:41:44 +01:00
ljf (zamentur)
f8f73fbe00
[fix] hotspot1 doesn't exist 2021-11-24 19:30:14 +01:00
ljf (zamentur)
bc5eb54331
[fix] Syntax error 2021-11-24 19:21:14 +01:00
Alexandre Aubin
19d25d4e8b Try to simplify code readability by merging set/unset ipv4/6 together 2021-11-16 00:46:09 +01:00
Alexandre Aubin
e19af5f6b9 Misc syntax 2021-11-16 00:29:00 +01:00
Alexandre Aubin
7d7eddf98a ! -z -> -n 2021-11-16 00:22:23 +01:00
Alexandre Aubin
7da1dc5461 Apply 'shfmt -bn -i 4 -w' on ynh-hotspot 2021-11-16 00:20:13 +01:00
Alexandre Aubin
3100538cbc Misc formatting, var naming etc 2021-11-16 00:16:13 +01:00
Alexandre Aubin
00fd220f15 Improve templating seds etc 2021-11-15 23:45:27 +01:00
Alexandre Aubin
97a1c737ea Unused vpnclient setting ... 2021-11-15 22:13:35 +01:00
Alexandre Aubin
38f61c775b ynh_setting_get: epic regex is unreadable and breaks syntax highlighting, let's copypasta the official helper... 2021-11-15 22:07:24 +01:00
Alexandre Aubin
3ad8d0fa69 jpp des tpl 2021-11-15 22:00:52 +01:00
Alexandre Aubin
017c6dec05
Improve hostapd debugging 2021-11-15 19:59:24 +01:00
Bapt Abl
b41ad50c5b
Support any subnet for default gateway 2021-11-11 18:22:25 +01:00
Bapt Abl
0a05dfb661
Better setting of new_internet_device 2021-11-10 02:32:21 +01:00
Alexandre Aubin
e2d7a00861 Get rid of ip6_addr, compute it based on the ip6_net instead 2021-10-18 00:04:34 +02:00
Alexandre Aubin
fdce1dd305 Fix DNS resolvers not being parsed properly 2021-10-18 00:04:14 +02:00
Alexandre Aubin
2ea83a9ce1 Cleanup unused/duplicated files 2021-10-17 22:24:24 +02:00
Alexandre Aubin
4031ed4567 ip6_net/addr -> change 'none' to empty string for better config panel integration / optional management etc (none ain't a valid IPv6 address) 2021-10-17 22:09:07 +02:00
Alexandre Aubin
eb902efa8c Cleanup legacy stuff 2021-10-13 01:22:32 +02:00
ljf
bb2f1b8b13 [fix] Config panel 2021-09-20 18:01:28 +02:00
yalh76
c206729f62 Fix rights 2021-05-28 02:16:18 +02:00
Alexandre Aubin
12ff876d45
Fix locales_dir stuff in config.php 2021-03-30 16:06:18 +02:00
HugoPoi
1c156f2d26 refactor(config): config.php is handle by ynh_add_config 2021-03-27 12:22:28 +01:00