diff --git a/.gitignore b/.gitignore index aa640e0..1a62622 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ mounts.conf.d/* - +.disabled diff --git a/install.sh b/install.sh index 8154cbd..048ea1d 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,10 @@ #!/usr/bin/env bash +if [ -f $run_directory/.disabled ]; then + echo "Installation is disabled. Exiting..." + exit 0 +fi + echo "Copying Systemd units to system directory..." for f in $(dirname "$0")/mounts.conf.d/*.conf; do if [ ! -e "$f" ]; then