Putting this in /etc/pm/sleep.d/99realtek and chmod +x /etc/pm/sleep.d/99realtek should work as a workaround.
Putting this in /etc/pm/ sleep.d/ 99realtek and chmod +x /etc/pm/ sleep.d/ 99realtek should work as a workaround.