Editing Rc-update
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
All services must reside in the '''/etc/[[Init.d|init.d]]''' or '''/usr/[[Local/etc/init.d|local/etc/init.d]]''' directories. They must also conform to the '''OpenRC''' runscript standard. | All services must reside in the '''/etc/[[Init.d|init.d]]''' or '''/usr/[[Local/etc/init.d|local/etc/init.d]]''' directories. They must also conform to the '''OpenRC''' runscript standard. | ||
− | == | + | ===Rc-update=== |
− | + | <code>rc-update</code> shows all runlevels and services: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <code>rc-update</code> | + | |
abi | boot | abi | boot | ||
Line 68: | Line 28: | ||
hald | default | hald | default | ||
hostid | boot | hostid | boot | ||
− | hostname | boot | + | hostname | boot |
− | + | ||
kldxref | boot | kldxref | boot | ||
lightdm | default | lightdm | default | ||
Line 98: | Line 57: | ||
''boot'' shows if a service starts at boot. | ''boot'' shows if a service starts at boot. | ||
− | |||
If you want a service starting at boot write as root: <br/> | If you want a service starting at boot write as root: <br/> | ||
<code>rc-update add foo</code> .<br/> | <code>rc-update add foo</code> .<br/> | ||
− | |||
If a service don't have to start at boot write: <br/> | If a service don't have to start at boot write: <br/> | ||