check distro and root

This commit is contained in:
Daniel Hansson 2019-01-24 10:01:23 +01:00 committed by GitHub
parent fbdcc4e77f
commit ca6fa2285b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,12 @@ unset FIRST_IFACE
DEBUG=0
debug_mode
# Must be root
root_check
# Check Ubuntu version
check_distro_version
clear
# Copy old interfaces files