diff options
author | tv <tv@xso> | 2011-09-09 16:12:44 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-09 16:12:44 +0200 |
commit | ee02a8c3dea925f568e58aebeb3e01a52ba21ef8 (patch) | |
tree | 4ec781c00e44bc77997691c1f2d44b97c8f06f45 /retiolum/bin | |
parent | 8c11ee3de8b7554b29c30b4b15eabb1d90f89ea3 (diff) |
//retiolum/bin/ipv6: use BRE @sed
Diffstat (limited to 'retiolum/bin')
-rwxr-xr-x | retiolum/bin/ipv6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/bin/ipv6 b/retiolum/bin/ipv6 index 65a1eaa1..34c6de71 100755 --- a/retiolum/bin/ipv6 +++ b/retiolum/bin/ipv6 @@ -13,7 +13,7 @@ if test `id -u` != 0; then fi file=/etc/tinc/retiolum/hosts/`hostname` -addr=`sed -rn 's|^Subnet *= *(42:[0-9A-Fa-f:]*/128)|\1|p' $file` +addr=`sed -n 's|^Subnet *= *\(42:[0-9A-Fa-f:]*/128\)|\1|p' $file` route=42::/16 start() { |