Skip to content

Commit

Permalink
Fix default value
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmcdonald91 committed Jun 28, 2021
1 parent 20fa287 commit 4988dd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,9 @@ function wg_service_rcfile() {

$start = $stop = array();

$start[] = "{$wgg['wg_daemon']} start";
$start[] = "{$wgg['wg_daemon']} start";

$stop[] = "{$wgg['wg_daemon']} stop";
$stop[] = "{$wgg['wg_daemon']} stop";

$rcfile['file'] = $wgg['service_name'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@

// Defaults for new installations

$pconfig['enable'] = isset($wgg['config']['enable']) ? $wgg['config']['enable'] : 'on';
$pconfig['enable'] = isset($wgg['config']['enable']) ? $wgg['config']['enable'] : 'off';

$pconfig['keep_conf'] = isset($wgg['config']['keep_conf']) ? $wgg['config']['keep_conf'] : 'yes';

Expand Down

0 comments on commit 4988dd7

Please sign in to comment.