Skip to content

Instantly share code, notes, and snippets.

@lmiphay
Created October 16, 2016 14:09
Show Gist options
  • Save lmiphay/35ffda9433f231ebfd7ccd51205e374b to your computer and use it in GitHub Desktop.
Save lmiphay/35ffda9433f231ebfd7ccd51205e374b to your computer and use it in GitHub Desktop.
One liner to silence boot-up warnings about runscript being used instead of openrc-run
#!/bin/bash
sed -i -- 's/runscript/openrc-run/g' $(grep -l '^#!/sbin/runscript' /etc/init.d/*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment