Am Freitag, 24. Juni 2022 schrieb Stefan Krusche:
Am Mittwoch, 8. Juni 2022 schrieb Felix Miata:
if [ -x /home/setup ] ; then /home/setup
Maybe this is no valid shell syntax because there should be no words
after the keyword "then", AFAICT.
No, it is possible to write code after "then", but that should be a
command, I think.
It says if /home/setup exists and is executable then execute it.
Felix reported "Xsetup: line 7: unexpected end of file" because
there was no "fi" to match the "if".
Also /home is not a good place for a random "setup" script.
--Mike