add else statement to armbian not found

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

@ -93,9 +93,10 @@ function install_dependencies() {
#If Armbian set network interfaces naming convention
function common_interfaces () {
if [ -f /boot/armbianEnv]; then
function common_interfaces() {
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