From 6a60cf9f82ca0dccbc72bf178e3c70a378f89581 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Fri, 18 Oct 2019 09:52:17 -0400 Subject: [PATCH] change R1 function --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index bbef36c..0bf1e97 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -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 }