rewrited dataengine

+ add ipv6 definition (internal and external)
+ add netctlAuto source
* rewrite interface list definition to use QtNetwork module
* rewrite internal ip definition to use QtNetwork module
- fix #7
This commit is contained in:
arcan1s
2014-08-05 00:22:01 +04:00
parent 7febf94233
commit dc81a44034
4 changed files with 274 additions and 145 deletions

View File

@ -5,15 +5,13 @@
CMD=/usr/bin/netctl
# netctl-auto command
NETCTLAUTOCMD=/usr/bin/netctl-auto
# ip command
IPCMD=/usr/bin/ip
## Network
# path to list of network devices
NETDIR=/sys/class/net/
## External IP
# external ip check command
EXTIPCMD=wget -qO- http://ifconfig.me/ip
# 'true' - check external IP
# external IPv4 check command
EXTIPCMD=curl ip4.telize.com
# 'true' - check external IPv4
EXTIP=false
# external IPv6 check command
EXTIP6CMD=curl ip6.telize.com
# 'true' - check external IPv6
EXTIP6=false