hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
832 stars 202 forks source link

fix bug due to the unescaped quote #122

Closed ReiujiUtsuho closed 7 years ago

ReiujiUtsuho commented 7 years ago

It failed when I try to set gmrender on startup by systemd, and I got the error message below:

Process: 12440 ExecStartPre=/bin/sh -c /bin/systemctl set-environment UPNP_UUID=ip link show | awk '/ether/ {print salt:)-" $2}' | head -1 | md5sum | awk {print $1}" (code=exited, status=2)

This is caused by the unescaped quote.

hzeller commented 7 years ago

Thanks!