Skip to content

Commit 063eda2

Browse files
Merge v0.0.9 into main (#69)
* Fixes bunk shell script Co-authored-by: vajonam <152501+vajonam@users.noreply.github.com> Co-authored-by: Manojav Sridhar <manojav@manojav.com>
1 parent 0963742 commit 063eda2

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/files/usr/local/etc/rc.reload_wireguard

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ if ($booting) {
5353

5454
}
5555

56-
//wg_resync_all();
57-
58-
service_control_restart('unbound', null);
59-
60-
service_control_restart('dpinger', null);
56+
wg_resync_all();
6157

6258
if ($booting) {
6359

src/files/usr/local/pkg/wireguard/wg.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ function wg_resync_all() {
402402

403403
update_status("done.\n");
404404

405+
unset($g['wireguard_installing']);
406+
405407
}
406408

407409
}
@@ -449,7 +451,6 @@ function wg_resync_tunnel($tunnel_name, $quick = false) {
449451
// Sync the configuration with the tunnel interface
450452
wg_interface_syncconf($tunnel['name']);
451453

452-
453454
}
454455

455456
}

src/files/usr/local/pkg/wireguard/wg_install.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function wg_install() {
3636

3737
$g['wireguard_installing'] = true;
3838

39-
update_status("\n Upgrading existing WireGuard XML configuration if necessary...");
39+
update_status("\n Upgrading any existing WireGuard XML configuration...");
4040

4141
// Things to potentially upgrade
4242
wg_upgrade_addresses();

0 commit comments

Comments
 (0)