diff --git a/README.md b/README.md index 347154a..4433258 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,18 @@ Step 1: Install the following dependencies with this command: ```bash apt install \ apparmor \ -jq \ -wget \ +cifs-utils \ curl \ -udisks2 \ -libglib2.0-bin \ -network-manager \ dbus \ +jq \ +libglib2.0-bin \ lsb-release \ +network-manager \ +nfs-common \ systemd-journal-remote \ -systemd-resolved -y +systemd-resolved \ +udisks2 \ +wget -y ``` Step 2: Install Docker-CE with the following command: diff --git a/homeassistant-supervised/DEBIAN/control b/homeassistant-supervised/DEBIAN/control index a9ec367..e760320 100755 --- a/homeassistant-supervised/DEBIAN/control +++ b/homeassistant-supervised/DEBIAN/control @@ -3,7 +3,7 @@ Section: base Version: 1.5.0 Priority: optional Architecture: all -Depends: curl, bash, docker-ce, dbus, network-manager, apparmor, jq, systemd, os-agent, systemd-journal-remote, systemd-resolved +Depends: curl, bash, docker-ce, dbus, network-manager, apparmor, jq, systemd, os-agent, systemd-journal-remote, systemd-resolved, nfs-common, cifs-utils Maintainer: Matheson Steplock Homepage: https://www.home-assistant.io/ Description: Home Assistant Supervised diff --git a/homeassistant-supervised/DEBIAN/postinst b/homeassistant-supervised/DEBIAN/postinst index fda553e..3e5ee72 100755 --- a/homeassistant-supervised/DEBIAN/postinst +++ b/homeassistant-supervised/DEBIAN/postinst @@ -51,6 +51,11 @@ if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'inactive' ]; th systemctl enable systemd-journal-gatewayd.socket> /dev/null 2>&1; systemctl start systemd-journal-gatewayd.socket fi +# Start nfs-utils.service for nfs mounts +if [ "$(systemctl is-active nfs-utils.service)" = 'inactive' ]; then + info "Start nfs-utils.service" + systemctl start nfs-utils.service +fi # Restart Docker service info "Restarting docker service"