pxe: improve init bugfix

This commit is contained in:
pedro 2024-11-11 14:05:22 +01:00
parent 192861b47e
commit a857db5de1

View file

@ -69,8 +69,8 @@ END
# reload nfs exports
${SUDO} exportfs -vra
if [ ! -f ./.settings.ini ]; then
cp -v ./.settings.ini.example ./.settings.ini
if [ ! -f ./settings.ini ]; then
cp -v ./settings.ini.example ./settings.ini
echo "WARNING: settings.ini was not there, settings.ini.example was copied, this only happens once"
fi