OpenRC: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Tgurr (talk | contribs)
No edit summary
Line 34: Line 34:


{{Codeline|# rm /etc/conf.d/rc}}
{{Codeline|# rm /etc/conf.d/rc}}
{{Codeline|# rm /etc/init.d/net.lo.openrc.bak}}

Revision as of 15:22, 19 August 2009

Packages

Template:Box Code

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