On only one (#! /bin/sh) script (using the hostname as "wiki") - the Post DAB setup script (the one executed on first boot of the VM) at:
I get the following error:
The exit 0; is preceded with a tab as in all the other scripts.
Code:
HOSTNAME=`head -n 1 /etc/hostname|awk '{ print $1; }'`
if [ "X${HOSTNAME}" = "Xlocalhost" ] ; then
exit 0;
fi
Code:
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
[: 19: Xwiki: unexpected operator
Starting Postfix Mail Transport Agent: postfix.
The exit 0; is preceded with a tab as in all the other scripts.