change R1 function

pull/35/head
necro-nemesis 6 years ago
parent 20b1c7cd00
commit 6a60cf9f82

@ -385,7 +385,7 @@ function optimize_php() {
}
function build_R1 () {
if [ strpos(file_get_contents("/etc/armbian-release"),'orangepi-r1') !== false]; then
if ( strpos(file_get_contents("/etc/armbian-release"),'orangepi-r1') !== false); then
sudo sed -i "1i extraargs=net.ifnames=0" /boot/armbianEnv.txt
fi
}

Loading…
Cancel
Save