Minor tweak to network.pr
This commit is contained in:
parent
a34d7eea9b
commit
0ab025d010
|
@ -1,18 +1,18 @@
|
|||
<require-service <milestone network>>
|
||||
|
||||
<network-interface "lo" <static "127.0.0.1">>
|
||||
<network-interface "eth0" <dhcp>>
|
||||
<configure-interface "lo" <static "127.0.0.1">>
|
||||
<configure-interface "eth0" <dhcp>>
|
||||
|
||||
<depends-on <milestone network> <service-state <daemon interfaces> complete>>
|
||||
|
||||
? <network-interface ?ifname <static ?ipaddr>> [
|
||||
? <configure-interface ?ifname <static ?ipaddr>> [
|
||||
<daemon interfaces {
|
||||
argv: ["ifconfig" $ifname $ipaddr "up"]
|
||||
restart: on-error
|
||||
}>
|
||||
]
|
||||
|
||||
? <network-interface ?ifname <dhcp>> [
|
||||
? <configure-interface ?ifname <dhcp>> [
|
||||
<daemon interfaces {
|
||||
argv: ["ifconfig" $ifname "up"]
|
||||
restart: on-error
|
||||
|
|
Loading…
Reference in New Issue