From 63e0ddfbcf2bb2dbf6e6ed74281cfd1dad3b9aa9 Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Fri, 11 Nov 2022 09:32:52 -0600 Subject: [PATCH] only unmask on armbian --- install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install b/install index 060ef02..edc4630 100755 --- a/install +++ b/install @@ -13,7 +13,7 @@ # https://github.com/armbian/config/blob/master/debian-software # https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/ # -# version: 1.6.26 +# version: 1.6.27 # if [[ $(id -u) -ne 0 ]]; then @@ -223,7 +223,9 @@ dpkg -P udisks2 echo "Install prerequisites..." apt-get --yes --no-install-recommends install dirmngr gnupg -systemctl unmask systemd-networkd.service +if [ -f /etc/armbian-release ]; then + systemctl unmask systemd-networkd.service +fi # install openmediavault if not installed already omvInstall=$(dpkg -l | awk '$2 == "openmediavault" { print $1 }')