Fix the sed invoke from r2006.
[invirt/packages/invirt-autoinstaller.git] / common / usr / lib / xen-tools / debian.d / 98-fix-eth-checksums
index 33d18ee..94d888e 100755 (executable)
@@ -19,7 +19,7 @@ logMessage Script $0 starting
 # To avoid UDP checksum problems.
 installDebianPackage ${prefix} ethtool
 
-sed -i'' -e 's/(\s*)# post-up/$1post-up/' ${prefix}/etc/network/interfaces
+sed -i'' -e 's/\(\s*\)# post-up/\1post-up/' ${prefix}/etc/network/interfaces
 
 #
 # Log our finish