You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
205 B

  1. <?php
  2. require '../../includes/csrf.php';
  3. require_once '../../includes/config.php';
  4. // fetch wg client.conf
  5. exec('sudo cat '. RASPI_WIREGUARD_PATH.'client.conf', $return);
  6. echo implode(PHP_EOL,$return);