[Pkg-sysvinit-devel] Bug#645655: initscripts: /etc/network/if-up.d/mountnfs: Wrong character class?

Jan-Benedict Glaw jbglaw at lug-owl.de
Mon Oct 17 15:46:37 UTC 2011


Package: initscripts
Version: 2.88dsf-13.12

Hi!

Small bug in there, fixed by:

--- /etc/network/if-up.d/mountnfs.orig  2011-10-17 17:45:48.000000000 +0200
+++ /etc/network/if-up.d/mountnfs       2011-10-17 17:43:50.000000000 +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



MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of:            http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
the second  :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20111017/e2116ddd/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list