From ee02a8c3dea925f568e58aebeb3e01a52ba21ef8 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 9 Sep 2011 16:12:44 +0200 Subject: //retiolum/bin/ipv6: use BRE @sed --- retiolum/bin/ipv6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3