OpenRC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{Box Code|emerge baselayout -pv| | {{Box Code|emerge baselayout -pv| | ||
<pre> | <pre> | ||
[ebuild U ] sys-apps/baselayout-2.0. | [ebuild U ] sys-apps/baselayout-2.0.1 [1.12.12] USE="-build (-bootstrap%) (-static%) (-unicode%*)" 23 kB | ||
[ebuild N ] sys-apps/openrc-0. | [ebuild N ] sys-apps/openrc-0.4.3-r3 USE="ncurses pam unicode -debug" 143 kB | ||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 15:24, 19 August 2009
Packages
Installation
# emerge baselayout --oneshot
Configuration
Merge your configs first:
# etc-update
Create a new symlink for your eth0, else your network won't be available after reboot:
# cd /etc/init.d
# ln -s net.lo net.eth0
Now edit /etc/conf.d/net, you'll find your old config in /etc/conf.d/net.eth0 but note that the syntax has changed so don't copy & paste. To set eth0 to a static IP you'll need something like this: Template:Box File
Finalize
# rm /etc/init.d/functions
# rm /etc/conf.d/rc
# rm /etc/init.d/net.lo.openrc.bak