Skip to content

Instantly share code, notes, and snippets.

@rhwood
Created December 26, 2015 20:02
Show Gist options
  • Save rhwood/4b3e049fd890ea9abd29 to your computer and use it in GitHub Desktop.
Save rhwood/4b3e049fd890ea9abd29 to your computer and use it in GitHub Desktop.
Quick fix for JMRI 4.2 on OS X inability to edit serial connections
#!/bin/sh
sudo find / -name StartJMRI -type f -exec sed -i "" -e 's/\/dev\/tty\\\.\*//' -e 's/\/dev\/cu\\\.\*//' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment