Jump to content

ggal625

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by ggal625

  1. Updated delugevpn and now I'm getting this error:

     

    [crit] VPN provider remote gateway not defined (via -e VPN_REMOTE), exiting...

     

    I'm using AirVPN. Didn't have to specify this before. Tried setting VPN_REMOTE to the remote host in the ovpn file, but then it asked for VPN_PORT. Tried setting that and then it asked for VPN_PROTOCOL so I gave up.

  2. Here's a patch for the division by zero problem:

     

    --- swapfile.php.orig	2013-02-24 12:43:02.000000000 -0500
    +++ swapfile.php	2013-02-24 12:43:02.000000000 -0500
    @@ -35,7 +35,9 @@
    }
    shell_exec("rm --force /tmp/swapfile_summary.txt");
    
    -$percentage = round(((float)$swapfile_usage)/((float)$swapfile_size)*100);
    +$percentage = 0;
    +if ($swapfile_size > 0)
    +  $percentage = round(((float)$swapfile_usage)/((float)$swapfile_size)*100);
    
    $control_actions_exist = "false";
    $version_actions_exist = "false";
    

×
×
  • Create New...