only unmask on armbian
This commit is contained in:
parent
cd8d22d36b
commit
63e0ddfbcf
6
install
6
install
@ -13,7 +13,7 @@
|
|||||||
# https://github.com/armbian/config/blob/master/debian-software
|
# https://github.com/armbian/config/blob/master/debian-software
|
||||||
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
|
# 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
|
if [[ $(id -u) -ne 0 ]]; then
|
||||||
@ -223,7 +223,9 @@ dpkg -P udisks2
|
|||||||
echo "Install prerequisites..."
|
echo "Install prerequisites..."
|
||||||
apt-get --yes --no-install-recommends install dirmngr gnupg
|
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
|
# install openmediavault if not installed already
|
||||||
omvInstall=$(dpkg -l | awk '$2 == "openmediavault" { print $1 }')
|
omvInstall=$(dpkg -l | awk '$2 == "openmediavault" { print $1 }')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user