# Reload if enabled
if ($settings{'ENABLED'} eq "on") {
- &General::system("/usr/local/bin/wireguardctrl", "reload");
+ &General::system("/usr/local/bin/wireguardctrl", "start");
}
# Edit an existing peer
# Reload if enabled
if ($settings{'ENABLED'} eq "on") {
- &General::system("/usr/local/bin/wireguardctrl", "reload");
+ &General::system("/usr/local/bin/wireguardctrl", "start");
}
} elsif ($cgiparams{"ACTION"} eq "SAVE-PEER-HOST") {
# Reload if enabled
if ($settings{'ENABLED'} eq "on") {
- &General::system("/usr/local/bin/wireguardctrl", "reload");
+ &General::system("/usr/local/bin/wireguardctrl", "start");
}
# Show the client configuration when creating a new peer