| View previous topic :: View next topic |
| Author |
Message |
f4c3m3l70r n00b


Joined: 19 Jul 2011 Posts: 35
|
Posted: Tue Nov 29, 2011 6:32 pm Post subject: Update to openrc-0.9.4 warning |
|
|
I updated my system today and get a warning at boot.
Im not using dhcp and set up network manually using the gentoo documentation this summer.
And there ist no example.net file in any /etc folder, dont know what to do at this point.
Anyway network is "still" working...
| Quote: | You are using a bash array for config.eth0
This feature will be removed in the future.
Please see net.example for the correct format for config_eth0
192.168.178.23 ...
You are using a bash array for config.eth0
This feature will be removed in the future.
Please see net.example for the correct format for routes_eth0 |
| Quote: | /etc/init.d/net
config_eth0=( "192.168.178.23 netmask 255.255.255.0 brd 192.168.178.255" )
routes_eth0=( "default via 192.168.178.5" ) |
_________________ Intel 3820X @ 4,7GHz| Asus Rampage IV Formula| G.Skill Ares 16GB 2133MHz | 2x Samsung 840 Pro SSD Raid 1 | Asus Sonar DX2 | Asus GTX680-DC2T-2GD5 |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3973 Location: Saint Amant, Acadiana
|
|
| Back to top |
|
 |
Sadako Advocate


Joined: 05 Aug 2004 Posts: 3753 Location: sleeping in the bathtub
|
Posted: Tue Nov 29, 2011 6:39 pm Post subject: |
|
|
Just remove the parentheses/brackets from the statements, you already have them in double quotes anyways, that's all you need, ie; | Code: | config_eth0="192.168.178.23 netmask 255.255.255.0 brd 192.168.178.255"
routes_eth0="default via 192.168.178.5" |
For reference, the example.net file should be under /usr/share/doc/openrc-0.9.4.
Edit: gah, too slow...  _________________ "You have to invite me in"
Last edited by Sadako on Tue Nov 29, 2011 6:40 pm; edited 1 time in total |
|
| Back to top |
|
 |
livinskull n00b

Joined: 30 Jul 2011 Posts: 4
|
Posted: Tue Nov 29, 2011 6:39 pm Post subject: |
|
|
Just remove the parenthesis after config_eth0:
| Quote: | | config_eth0="192.168.178.23 netmask 255.255.255.0 brd 192.168.178.255" |
The new example.net is btw bzipped in /usr/share/doc/openrc-0.9.4/
EDIT: gnarl, even slower  |
|
| Back to top |
|
 |
f4c3m3l70r n00b


Joined: 19 Jul 2011 Posts: 35
|
Posted: Tue Nov 29, 2011 6:51 pm Post subject: |
|
|
Thank you, that fixed it  _________________ Intel 3820X @ 4,7GHz| Asus Rampage IV Formula| G.Skill Ares 16GB 2133MHz | 2x Samsung 840 Pro SSD Raid 1 | Asus Sonar DX2 | Asus GTX680-DC2T-2GD5 |
|
| Back to top |
|
 |
tomk Administrator


Joined: 23 Sep 2003 Posts: 7095 Location: Sat in front of my computer
|
|
| Back to top |
|
 |
|