OpenRC: Difference between revisions

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


{{Codeline|# rm /etc/conf.d/rc}}
{{Codeline|# rm /etc/conf.d/rc}}
{{Codeline|# rm /etc/conf.d/net.eth0}}

Revision as of 13:21, 29 April 2008

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