/[smecontribs]/rpms/smeserver-wireguard/contribs10/smeserver-wireguard-1.0-bz11721-init.patch
ViewVC logotype

Diff of /rpms/smeserver-wireguard/contribs10/smeserver-wireguard-1.0-bz11721-init.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Wed Oct 27 21:35:02 2021 UTC Revision 1.2 by jpp, Thu Oct 28 01:24:08 2021 UTC
# Line 10  diff -Nur --no-dereference smeserver-wir Line 10  diff -Nur --no-dereference smeserver-wir
10   }   }
11    
12   }   }
13    diff -Nur --no-dereference smeserver-wireguard-1.0.old/createlink smeserver-wireguard-1.0/createlink
14    --- smeserver-wireguard-1.0.old/createlink      2021-10-25 23:38:29.000000000 -0400
15    +++ smeserver-wireguard-1.0/createlink  2021-10-27 21:20:46.985000000 -0400
16    @@ -69,5 +69,5 @@
17     ));
18    
19    
20    -
21    +panel_link("wireguard", "manager");
22    
23    diff -Nur --no-dereference smeserver-wireguard-1.0.old/root/etc/e-smith/db/configuration/migrate/wireguard smeserver-wireguard-1.0/root/etc/e-smith/db/configuration/migrate/wireguard
24    --- smeserver-wireguard-1.0.old/root/etc/e-smith/db/configuration/migrate/wireguard     2021-10-27 21:17:33.367000000 -0400
25    +++ smeserver-wireguard-1.0/root/etc/e-smith/db/configuration/migrate/wireguard 2021-10-27 21:18:24.898000000 -0400
26    @@ -6,7 +6,7 @@
27       $DB->set_prop('wg-quick@wg0', 'private', $value ) ;
28     }
29     # recreate public if empty or not the same
30    -$private=${'wg-quick@wg0'}{'private'};
31    +$private=$DB->get_prop('wg-quick@wg0', 'private') ;
32     $public=`/usr/bin/echo $private | /usr/bin/wg pubkey`;
33     chomp $public;
34     if ( ! defined ${'wg-quick@wg0'}{'public'} ||  ${'wg-quick@wg0'}{'public'} ne $public) {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed