Skip to content

Instantly share code, notes, and snippets.

@jefferymiller
Last active February 1, 2019 20:16
Show Gist options
  • Save jefferymiller/197adfab3ba311383c24cb481e1d54d3 to your computer and use it in GitHub Desktop.
Save jefferymiller/197adfab3ba311383c24cb481e1d54d3 to your computer and use it in GitHub Desktop.
# Toggles an X trailing the CHROMEOS_AUSERVER and CHROMEOS_DEVSERVER lines.
# Run this with bash.
# curl https://gist.githubusercontent.com/jefferymiller/197adfab3ba311383c24cb481e1d54d3/raw/mod_lsb_release.sh | bash -
sudo sed -i.bak -e '/CHROMEOS_AUSERVER=/{/X$/s/X//;t;s/$/X/}' -e '/CHROMEOS_DEVSERVER=/{/X$/s/X//;t;s/$/X/}' /etc/lsb-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment