add else statement to armbian not found

pull/35/head
necro-nemesis 7 years ago
parent af5beefa49
commit 83f76c6bdf

@ -94,8 +94,9 @@ function install_dependencies() {
#If Armbian set network interfaces naming convention
function common_interfaces() {
if [ -f /boot/armbianEnv]; then
if [ -f /boot/armbianEnv.txt]; then
sudo sed -i '1i extraargs=net.ifnames=0' /boot/armbianEnv.txt && install_log "armbianEnv patched"
else install_log "Armbian undetected no patching required"
fi
}

Loading…
Cancel
Save