-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from kouak/lithium
Bug #27: Add 'enable-ipv6' option to pppoe connections
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
templates-cfg/interfaces/ethernet/node.tag/pppoe/node.tag/enable-ipv6/node.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# Configuration template for the .../pppoe/node.tag/enable-ipv6 parameter | ||
# | ||
# | ||
# This parameter has no "value" associated with it. If the parameter | ||
# exists, then ipv6 is enabled in pppd options. | ||
# | ||
# If the parameter does not exist, then ipv6 will | ||
# be disabled in pppd. | ||
|
||
help: Activate IPv6 support on this connection | ||
|
||
update: sudo sed -i '/^+ipv6/d' /etc/ppp/peers/pppoe$VAR(../@) | ||
sudo sh -c "echo +ipv6 >> /etc/ppp/peers/pppoe$VAR(../@)" | ||
|
||
delete: sudo sed -i '/^+ipv6/d' /etc/ppp/peers/pppoe$VAR(../@) |
16 changes: 16 additions & 0 deletions
16
templates-cfg/interfaces/ethernet/node.tag/vif/node.tag/pppoe/node.tag/enable-ipv6/node.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# Configuration template for the .../pppoe/node.tag/enable-ipv6 parameter | ||
# | ||
# | ||
# This parameter has no "value" associated with it. If the parameter | ||
# exists, then ipv6 is enabled in pppd options. | ||
# | ||
# If the parameter does not exist, then ipv6 will | ||
# be disabled in pppd. | ||
|
||
help: Activate IPv6 support on this connection | ||
|
||
update: sudo sed -i '/^+ipv6/d' /etc/ppp/peers/pppoe$VAR(../@) | ||
sudo sh -c "echo +ipv6 >> /etc/ppp/peers/pppoe$VAR(../@)" | ||
|
||
delete: sudo sed -i '/^+ipv6/d' /etc/ppp/peers/pppoe$VAR(../@) |