Changeset 551a8d2 for npl


Ignore:
Timestamp:
03/25/19 19:22:17 (6 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master
Children:
d337995
Parents:
67ac101
Message:

ignore openvpn if its not installed

Location:
npl/syn3/webint
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • npl/syn3/webint/src/openvpn/model.php

    r67ac101 r551a8d2  
    146146function openvpn_List($filter="")
    147147{
    148         $lines=FileRead("/etc/openvpn/pki/index.txt");
     148        $index_file="/etc/openvpn/pki/index.txt";
     149        if (!file_exists($index_file))
     150                return([]);
     151
     152        $lines=FileRead($index_file);
    149153        $ret=[];
    150154        foreach ($lines as $line)
  • npl/syn3/webint/webint.build

    r67ac101 r551a8d2  
    1 6572
     16573
  • npl/syn3/webint/webint.md5

    r67ac101 r551a8d2  
    83283216877f2ae40364c8db9b1536080a8ee6  ./src/openvpn/listcerts.php
    8338336bd817d4aa1565638e41d5bde02b3d2e  ./src/openvpn/menuman.php
    834 a906f6e134f33208169cef9de1242de7  ./src/openvpn/model.php
     834ea3c755d9e74d694c62de8fdcc261a40  ./src/openvpn/model.php
    8358351c884f6577d22801b8f19aa1aab4045e  ./src/openvpn/status.php
    8368363fb8ed50605a860855713f5836010ab4  ./src/openvpn/wizardman.php
     
    116011603d8b121024940b3004ca67bacb88b74e  ./updatelang.sh
    11611161e15c0d77cf349ff3f2c55bf1b48ea567  ./upload.sh
    1162 9c890544cd841ff8f47750c2c8b72d98  ./webint.pkg
     11623f58fea932c990eaae7d0e9aa61c0750  ./webint.pkg
    1163116305d46c478b4e8c14eafeb686a5b8c064  ./webint.SlackBuild
    1164 f531218428f61c70399bb30d0a825e5a  ./webint.SlackBuild.log.gz
     11643ddd69e844f9e333487e44a25f1b1c38  ./webint.SlackBuild.log.gz
    11651165693ffd7c59a1fe2b34276bec14f3ebfb  ./zones.conf
Note: See TracChangeset for help on using the changeset viewer.