02-26-2023, 12:17 AM
The code snippet is a udev rules file, not a shell script. It should be written to a file named /lib/udev/rules.d/98-prevent-modem-bugs.rules and not run in a terminal nor executed as a shell script. Once you have saved the file, reboot your PinePhone and udev/systemd will read the rules in it.