Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:system:init_systems:openrc [2022/10/24 15:13] throgh [Login display manager] |
en:system:init_systems:openrc [2022/10/24 18:43] throgh [Runlevels] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ?!(WIP)!? | ||
- | |||
====== OpenRC ====== | ====== OpenRC ====== | ||
OpenRC is a init system for Operational Systems GNU/Linux, GNU/Hurd and Unix, compatible with [[https:// | OpenRC is a init system for Operational Systems GNU/Linux, GNU/Hurd and Unix, compatible with [[https:// | ||
Line 73: | Line 71: | ||
</ | </ | ||
===== Runlevels ===== | ===== Runlevels ===== | ||
- | OpenRC, as well as sysvinit and init (BSD), has a concept of task execution levels (Runlevels), | + | OpenRC, as well as sysvinit and init (BSD), has a concept of task execution levels (Runlevels), |
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | + | The <color # |
+ | <code bash> | ||
+ | # rc-status | ||
+ | * Caching service dependencies ... [ ok ] | ||
+ | Runlevel: default | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | All runlevels are represented as folders in <color # | ||
+ | |||
+ | Calling openrc with an argument (<color # | ||
+ | |||
+ | Managing runlevels is usually done through the <color # | ||
+ | <color # | ||
- | !?(WIP)!?!? | + | <note important> |
+ | The default startup uses the runlevels <color # | ||
====== OpenRC ====== | ====== OpenRC ====== | ||
- | Since Hyperbola has announced the [[https:// | + | Since Hyperbola has announced the [[https:// |
===== What is OpenRC? ===== | ===== What is OpenRC? ===== | ||
Line 142: | Line 155: | ||
===== Migration ===== | ===== Migration ===== | ||
- | <note important> | + | <note important> |
===== Configuration ===== | ===== Configuration ===== | ||
Line 178: | Line 192: | ||
==> rc ' | ==> rc ' | ||
</ | </ | ||
- | |||
- | <note tip>Make sure what services you was using in systemd to re-enable them in OpenRC: | ||
- | <code bash> | ||
- | $ ls -ls / | ||
- | </ | ||
- | Sometimes, there are target files such as <color # | ||
- | </ | ||
- | |||
==== Hostname ==== | ==== Hostname ==== | ||
Line 201: | Line 207: | ||
</ | </ | ||
- | ==== NetworkManager | + | ==== Network |
- | You need to enable the software | + | You need to enable the daemon <color # |
<code bash> | <code bash> | ||
- | # rc-update add NetworkManager | + | # rc-update add dhcpcd |
</ | </ | ||
- | |||
- | In order to not change the computer' | ||
- | |||
- | < | ||
- | # Static hostname | ||
- | [keyfile] | ||
- | hostname=**Votre hostname** | ||
- | </ | ||
- | |||
- | For NetworkManager to work correctly in OpenRC, make sure that <color # | ||
- | |||
- | <note important> | ||
==== Kepmap ==== | ==== Kepmap ==== | ||
Line 330: | Line 324: | ||
==== The system can't shutdown correctly ==== | ==== The system can't shutdown correctly ==== | ||
- | Begin with OpenRC 0.28 SysVinit is replaced with openrc-init, | + | Begin with OpenRC 0.28 SysVinit is replaced with openrc-init, |
===== Acknowledgement ===== | ===== Acknowledgement ===== | ||
This wiki article is based on **[[https:// | This wiki article is based on **[[https:// |