Created
November 24, 2019 19:44
-
-
Save lepz0r/92770408eae888aac14136444dd37c20 to your computer and use it in GitHub Desktop.
s6-rc update script
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/sh | |
# Tested on Artix Linux | |
# | |
# Add a service that you want to enable to /etc/default/update6 (separated with newline or space) | |
export services=$(tr '\n' ' ' < /etc/default/update6) | |
s6-rc-bundle delete default | |
s6-rc-bundle add default $services | |
s6-rc-update /etc/s6/rc/compiled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment