bbfdm/gitlab-ci/setup.sh
2023-05-16 14:13:03 +00:00

19 lines
385 B
Bash
Executable file

#!/bin/bash
echo "preparation script"
pwd
# link '/bin/sh' to bash instead of dash
ln -sf bash /bin/sh
cp -r ./test/files/etc/* /etc/
cp -r ./test/files/usr/* /usr/
cp -r ./test/files/var/* /var/
cp -r ./test/files/tmp/* /tmp/
cp -r ./test/files/lib/* /lib/
[ -z "${1}" ] && cp ./gitlab-ci/iopsys-supervisord.conf /etc/supervisor/conf.d/
rm -f /etc/bbfdm/dmmap/*
ls /etc/config/