pppoe: capture nameserver addresses as outputs
This commit is contained in:
parent
3b75cadb20
commit
228b270385
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,8 @@ let
|
||||||
echo $3 > speed
|
echo $3 > speed
|
||||||
echo $4 > address
|
echo $4 > address
|
||||||
echo $5 > peer-address
|
echo $5 > peer-address
|
||||||
|
echo $DNS1 > ns1
|
||||||
|
echo $DNS1 > ns2
|
||||||
)
|
)
|
||||||
echo >/proc/self/fd/10
|
echo >/proc/self/fd/10
|
||||||
'';
|
'';
|
||||||
|
@ -32,6 +34,7 @@ let
|
||||||
"ip-up-script" ip-up
|
"ip-up-script" ip-up
|
||||||
"ipparam" name
|
"ipparam" name
|
||||||
"nodetach"
|
"nodetach"
|
||||||
|
"usepeerdns"
|
||||||
"logfd" "2"
|
"logfd" "2"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue