mirror of https://github.com/dswd/vpncloud.git
Logging more verbosely
This commit is contained in:
parent
836ad58914
commit
024442243b
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
This project follows [semantic versioning](http://semver.org).
|
This project follows [semantic versioning](http://semver.org).
|
||||||
|
|
||||||
|
### Unreleased
|
||||||
|
|
||||||
|
- [changed] Logging more verbosely
|
||||||
|
|
||||||
### v0.4 (2015-12-22)
|
### v0.4 (2015-12-22)
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ do_start() {
|
||||||
unset DEVICE LISTEN TYPE MODE SHARED_KEY CRYPTO IFUP IFDOWN NETWORK_ID PEER_TIMEOUT DST_TIMEOUT PEERS SUBNETS
|
unset DEVICE LISTEN TYPE MODE SHARED_KEY CRYPTO IFUP IFDOWN NETWORK_ID PEER_TIMEOUT DST_TIMEOUT PEERS SUBNETS
|
||||||
[ -f "$NETCONFIGS/$net.net" ] && . $NETCONFIGS/$net.net
|
[ -f "$NETCONFIGS/$net.net" ] && . $NETCONFIGS/$net.net
|
||||||
if [ $ENABLED -eq 1 ]; then
|
if [ $ENABLED -eq 1 ]; then
|
||||||
PARAMS="-q"
|
PARAMS=""
|
||||||
[ -z "$DEVICE" ] || PARAMS="$PARAMS --device $DEVICE"
|
[ -z "$DEVICE" ] || PARAMS="$PARAMS --device $DEVICE"
|
||||||
[ -z "$LISTEN" ] || PARAMS="$PARAMS --listen $LISTEN"
|
[ -z "$LISTEN" ] || PARAMS="$PARAMS --listen $LISTEN"
|
||||||
[ -z "$TYPE" ] || PARAMS="$PARAMS --type $TYPE"
|
[ -z "$TYPE" ] || PARAMS="$PARAMS --type $TYPE"
|
||||||
|
|
Loading…
Reference in New Issue