Created
October 16, 2016 14:09
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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