Merge pull request #37 from KasperskyLab/dev

Modifying install script
This commit is contained in:
Félix Aimé 2021-01-25 12:44:34 +01:00 committed by GitHub
commit 953060f6b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,13 +306,7 @@ cleaning() {
check_interfaces(){
# Get the current connected interface name.
for iface in $IFACES;
do
config="$(ifconfig $iface)"
if echo "$config" | grep -q "inet "; then
ciface=$iface
fi
done
ciface="$(route | grep default | head -1 | grep -Eo '[a-z0-9]+$')"
# Setup of iface_out which can be any interface,
# but needs to be connected now or in the future.