1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00
Commit graph

230 commits

Author SHA1 Message Date
OniriCorpe
0e4cd18bee fix dnsmask config after AGH removal 2023-12-30 23:38:00 +01:00
OniriCorpe
a46953854d fix 2023-12-30 23:34:00 +01:00
OniriCorpe
815c087270 put the config file at the start, before we use it 2023-12-30 23:28:09 +01:00
OniriCorpe
ccce10f728 we no more need break lines 2023-12-30 23:17:15 +01:00
OniriCorpe
68cfa98d49 use the same IP config updating in mechanism for all scripts 2023-12-30 23:07:52 +01:00
OniriCorpe
87c31e7082 try a fix 2023-12-28 08:25:47 +01:00
OniriCorpe
bc0a887180 fix 2023-12-28 08:17:23 +01:00
OniriCorpe
2423ba05c0 trying a thing 2023-12-28 08:14:42 +01:00
OniriCorpe
75a1fb4cdf sigh 2023-12-28 08:01:41 +01:00
OniriCorpe
7053fbdc69 sigh 2023-12-28 07:53:35 +01:00
OniriCorpe
4350238f8c real fix lol 2023-12-28 07:42:18 +01:00
OniriCorpe
fd9db7c7b6 fix 2023-12-28 07:37:53 +01:00
OniriCorpe
6e86686cf3 fix 2023-12-28 07:29:07 +01:00
OniriCorpe
27f111ef66 rework process_ips() to effectively get multiple IP if needed 2023-12-28 07:15:42 +01:00
OniriCorpe
4c6de3701c fix ipv4 getting 2023-12-28 07:03:57 +01:00
OniriCorpe
fd75e1c9e5 better phrasing 2023-12-28 06:53:47 +01:00
OniriCorpe
2153dfe521 fix 2023-12-28 06:45:25 +01:00
OniriCorpe
584d0ce893 trying to better handle ip processing at install 2023-12-28 06:43:36 +01:00
OniriCorpe
7c5ce0d152 fix 2023-12-28 06:24:34 +01:00
OniriCorpe
952f48f41a edit the 'ip' commands because we need the IP without route too (they may be private IPs) 2023-12-28 06:16:48 +01:00
OniriCorpe
f4f916a8b2 new function: get_network_interface() 2023-12-28 05:54:28 +01:00
OniriCorpe
cd382bed1c better message 2023-12-28 05:17:39 +01:00
OniriCorpe
8f0906e85b fix 2023-12-28 04:24:40 +01:00
OniriCorpe
c4bf95489f fix: processed_ips can be empty 2023-12-28 04:01:22 +01:00
OniriCorpe
34eee2028a fix the "there's no valid IP at all for this configuration" bug where the whole route where echoed 2023-12-28 03:58:18 +01:00
OniriCorpe
1862a22c67 debug upgrade 2023-12-28 03:18:09 +01:00
OniriCorpe
664b0cdc3a replace ynh_replace_string by ynh_write_var_in_file 2023-12-28 02:54:35 +01:00
OniriCorpe
22a3d330ed fix IP validation for IPv6 2023-12-28 01:18:07 +01:00
OniriCorpe
2e5a03320f Revert "rework process_ips()"
This reverts commit 1d5e520b73.
2023-12-28 01:09:39 +01:00
OniriCorpe
1a86052659 better test if 2023-12-28 01:05:04 +01:00
OniriCorpe
8dcf864621 fix if 2023-12-28 01:00:14 +01:00
OniriCorpe
176f3149d4 typo 2023-12-28 00:58:05 +01:00
OniriCorpe
6b3e8a81b5 add comment 2023-12-28 00:57:00 +01:00
OniriCorpe
1d5e520b73 rework process_ips() 2023-12-28 00:52:42 +01:00
OniriCorpe
a9e36a82ec debug 2023-12-28 00:43:30 +01:00
OniriCorpe
4b780131dc debug 2023-12-28 00:11:48 +01:00
OniriCorpe
b74820b443 shellcheck: ignore SC2005 2023-12-28 00:05:40 +01:00
OniriCorpe
6223ab706b Revert "simplify "source _common.sh" path"
This reverts commit 8aef567a04.
2023-12-27 23:46:42 +01:00
OniriCorpe
490e207587 fix ip 2023-12-27 23:41:50 +01:00
OniriCorpe
a55c98a994 dnsmask config removal put at the end 2023-12-27 23:04:34 +01:00
OniriCorpe
c512e9599e add progression message for system configurations removal 2023-12-27 23:03:45 +01:00
OniriCorpe
bb235a2392 Remove the dedicated dnsmasq config for AdGuardHome 2023-12-27 22:52:58 +01:00
OniriCorpe
aeab6379ab rename "update_config()" into more explicit "update_agh_config()" 2023-12-27 22:51:09 +01:00
OniriCorpe
b913775894 backup & restore AGH dnsmasq config is now irrelevant (as it's regenerated at restore) 2023-12-27 22:48:49 +01:00
OniriCorpe
8aef567a04 simplify "source _common.sh" path 2023-12-27 22:44:43 +01:00
OniriCorpe
fdc0d03874 put back the comment note about echo & add comment 2023-12-27 22:41:08 +01:00
OniriCorpe
b95d192aa6 mopved all the code to create a dnsmask config with the network interface to personal helpers 2023-12-27 22:30:57 +01:00
OniriCorpe
95f8a53d87 Better user information about ports opening / closing 2023-12-27 19:56:29 +01:00
OniriCorpe
ac6df8b708 better if 2023-12-27 19:50:05 +01:00
OniriCorpe
c8785c3e01 better placment 2023-12-27 19:45:20 +01:00