Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:system:init_systems:openrc [2022/03/08 20:38] i3_relativism add text from duplicated page |
en:system:init_systems:openrc [2022/10/24 15:23] throgh [OpenRC] |
||
---|---|---|---|
Line 72: | Line 72: | ||
===== 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), | ||
+ | |||
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ||
+ | |||
+ | |||
+ | !?(WIP)!?!? | ||
====== OpenRC ====== | ====== OpenRC ====== | ||
- | Since Hyperbola has announced the [[https:// | + | Since Hyperbola has announced the [[https:// |
===== What is OpenRC? ===== | ===== What is OpenRC? ===== | ||
Line 96: | Line 101: | ||
# gpasswd -a < | # gpasswd -a < | ||
</ | </ | ||
- | |||
- | In the case of some graphical environments, | ||
- | |||
- | < | ||
- | ... | ||
- | ; default-sink = | ||
- | ; default-source = | ||
- | ; default-server = | ||
- | ; default-dbus-server = | ||
- | |||
- | ; autospawn = yes | ||
- | ; daemon-binary = / | ||
- | ; extra-arguments = --log-target=syslog | ||
- | |||
- | ; cookie-file = | ||
- | |||
- | ; enable-shm = yes | ||
- | ; shm-size-bytes = 0 # setting this 0 will use the system-default, | ||
- | |||
- | ; auto-connect-localhost = no | ||
- | ; auto-connect-display = no | ||
- | </ | ||
- | |||
- | <note warning> | ||
- | |||
- | <note important> | ||
Same for video, your games might be laggy otherwise: | Same for video, your games might be laggy otherwise: | ||
Line 223: | Line 202: | ||
==> 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 246: | Line 217: | ||
</ | </ | ||
- | ==== 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 286: | Line 245: | ||
Unlike another distros with OpenRC support, the DM is launched directly. | Unlike another distros with OpenRC support, the DM is launched directly. | ||
- | For example, with <color # | + | For example, with <color # |
<code bash> | <code bash> | ||
- | # rc-update add lightdm | + | # rc-update add wdm default |
</ | </ | ||
Line 331: | Line 290: | ||
<code bash> | <code bash> | ||
- | # ln -s /dev/null /etc/ | + | # ln -s /dev/null /lib/ |
</ | </ | ||
Line 375: | Line 334: | ||
==== 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:// |