pxe: improve init bugfix
This commit is contained in:
parent
192861b47e
commit
a857db5de1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue