Closed hu55a1n1 closed 7 years ago
Sorry for the late reply. I was a little caught up with another project on my blog.
You're right about the fixed UUID. I'll fix this soon.
Now, I'm doing it the same way you are, in the scripts/init.d/gmediarenderer
init script.
I just realised bash substitution isn't that straightforward in systemd unit files. :) But I managed to get this done somehow.
bash is usually quite heavy. Would it also work with standard /bin/sh?
@coldtobi
I'm not really a shell guy, but I just tried on my ubuntu desktop and it seems to be working. 👍
Thanks for the changes. I'll merge it today and replace the bash with sh.
Maybe I should make it easier to create a st able UUID from the ethernet interface already in gmrender resurrect, but unfortunately, that would be system dependent (I know something that would work on Linux but not necessarily on other Unixes; though I presume this is mostly used on Linux anyway, so not really a big deal).
You're welcome. :)
I just replaced bash
with sh
myself.
Maybe I should make it easier to create a st able UUID from the ethernet interface already in gmrender resurrect
That'll be great!
And thanks for gmrender-resurrect!
Hope I've placed the script in the right place.