Source: wondershaper
Version: 1.1a-10
Severity: minor
Tags: patch

Hi,

I suggest using $IFACE in the /etc/network/interfaces references in 
README.Debian; it can avoid obvious errors when copy-pasting.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] ���� chris-lamb.co.uk
       `-
diff --git a/debian/README.Debian b/debian/README.Debian
index d6aa65a..be86b71 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -151,8 +151,8 @@ wondershaper, that same paragraph will look like this:
 
 auto eth1
 iface eth1 inet dhcp
-    up /sbin/wondershaper eth1 500 100
-    down /sbin/wondershaper remove eth1
+    up /sbin/wondershaper $IFACE 500 100
+    down /sbin/wondershaper remove $IFACE
 
 After your final edit, you may wish to ifdown eth1 and then ifup eth1 
 while logged in as root.  This is recommended as a first test step,

Reply via email to