summaryrefslogtreecommitdiffstats
path: root/share/hooks/pre-start.unlink-console.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:16:14 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:45:14 +0000
commitec8255b378751dca48bc839e8751cea5bd339921 (patch)
tree2af70efd08b300b299d6f157c6919c329a7513c6 /share/hooks/pre-start.unlink-console.sh
parentMoving command files from /usr/lib to /usr/libexec. (diff)
downloadcompute-tools-ec8255b378751dca48bc839e8751cea5bd339921.tar.xz
compute-tools-ec8255b378751dca48bc839e8751cea5bd339921.zip
Moving config files from /etc/open-infrastructure to /etc/compute-tools.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/hooks/pre-start.unlink-console.sh')
-rwxr-xr-xshare/hooks/pre-start.unlink-console.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hooks/pre-start.unlink-console.sh b/share/hooks/pre-start.unlink-console.sh
index 3133a19..f781167 100755
--- a/share/hooks/pre-start.unlink-console.sh
+++ b/share/hooks/pre-start.unlink-console.sh
@@ -20,9 +20,10 @@
set -e
PROJECT="open-infrastructure"
+SOFTWARE="compute-tools"
PROGRAM="container"
-CONFIG="/etc/${PROJECT}/${PROGRAM}/config"
+CONFIG="/etc/${SOFTWARE}/config"
# Run
if grep -qs 'bind=.*/dev:/dev;' "${CONFIG}/${NAME}.conf"