On 09/04/2016 01:34 PM, François Patte wrote:
Just unwanted spaces before and after #!/bin/bash
The script works when executed for itself, but it seems that systemd is
quite supercilious about that spaces and very avaricious to give some
hints about the error encountered!
Thank you for helping.
Interesting. I have some blank lines in mine, to improve readability,
but not there. I'll have to keep that in mind for future reference.
It's rather like mount insisting that every line in /etc/fstab end in a
newline, even the last one, but not giving a clear error message if you
forget it.
And, it's occurred to me that there's a way to get what's needed here
done that's easier because it doesn't try to make the same change during
every boot. Alas, I've gotten the impression that my advice isn't
wanted in this thread, so I'll leave it as an exercise for the reader.