[Pkg-sysvinit-devel] Bug#631077: typo in /etc/network/if-up.d/mountnfs

Milan Kocian milon at wq.cz
Sun Jun 19 22:21:08 UTC 2011


Package: initscripts
Version: 2.88dsf-13.10

Hello,

I found small typo in /etc/network/if-up.d/mountnfs script. This patch
should correct it:

--- mountnfs.old	2011-06-20 00:18:40.031504616 +0200
+++ mountnfs	2011-06-20 00:18:54.997317517 +0200
@@ -117,7 +117,7 @@
 }
 
 exit_unless_last_interface() {
-    grep "^[:space:]*auto" /etc/network/interfaces  | \
+    grep "^[[:space:]]*auto" /etc/network/interfaces  | \
 	sed -e 's/[ \t]*auto[ \t]*//;s/[ \t]*$//;s/[ \t]/\n/g' | \
 	while read i; do
 	if [ `grep -c $i /etc/network/run/ifstate` -eq "0" ]; then
 


Best regards,

-- 
Milan Kocian





More information about the Pkg-sysvinit-devel mailing list