From efe1759a1d24d38761d123b4fa60ac583c754a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= Date: Mon, 19 Mar 2018 12:18:46 +0100 Subject: [PATCH] use seperate files rather than using the old global file(s) ..for handling modules --- ubuntu/18.04/install.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ubuntu/18.04/install.sh b/ubuntu/18.04/install.sh index 773338c..bda0e0d 100644 --- a/ubuntu/18.04/install.sh +++ b/ubuntu/18.04/install.sh @@ -56,17 +56,16 @@ rmmod vsock modprobe hv_sock # Blacklist the vmw module - -if grep vmw_vsock_vmci_transport /etc/modprobe.d/blacklist.conf --quiet ; then -cat >> /etc/modprobe.d/blacklist.conf <> /etc/modprobe.d/blacklist_vmw_vsock_vmci_transport.conf <> /etc/modules +if [ ! -e /etc/modules-load.d/hv_sock.conf ] ; then +echo "hv_sock" > /etc/modules-load.d/hv_sock.conf fi # Configure the policy xrdp session