Bug#869485: debian-refcard: update ifup ifdown command

2017-07-23 Thread Holger Wansing
Control: tags -1 + pending


Stéphane Blondon  wrote:
> Package: debian-refcard
> Severity: normal
> Tags: patch
> 
> 
> The current distribution (Stretch) and so the next one (Buster) don't
> provide ifupdown package by default. I see two ways to update the refcards:
> 
> - adding 'need ifupdown' in the second column like the next line (in
> `ip` command)
> - replacing ifup, ifdown commands to 'ip link...' command
> 
> The patch does the second solution.
> 
> I wonder if the 'need iproute' is still relevant because, IIRC, it's
> installed by default now. In doubt, I modify only to iproute2 package
> because iproute package is only a transitional package now.

Fixed in git. Thanks!



-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/




Bug#869485: debian-refcard: update ifup ifdown command

2017-07-23 Thread Stéphane Blondon
Package: debian-refcard
Severity: normal
Tags: patch


The current distribution (Stretch) and so the next one (Buster) don't
provide ifupdown package by default. I see two ways to update the refcards:

- adding 'need ifupdown' in the second column like the next line (in
`ip` command)
- replacing ifup, ifdown commands to 'ip link...' command

The patch does the second solution.

I wonder if the 'need iproute' is still relevant because, IIRC, it's
installed by default now. In doubt, I modify only to iproute2 package
because iproute package is only a transitional package now.



-- 
Stéphane
diff --git a/entries.dbk b/entries.dbk
index 9dc1c49..0b2d716 100644
--- a/entries.dbk
+++ b/entries.dbk
@@ -550,16 +550,16 @@
/etc/network/interfaces
Network interface configuration.
   
-  
-	ifup, ifdown
-	device
+  
+	ip link set
+	device {up, down}
 	Start, stop network interfaces according to
 	files above.
   
   
 	/sbin/ip
 	Show and manipulate network interfaces and
-	routing, needs iproute.
+	routing, needs iproute2.
   
   
 	ssh -X


signature.asc
Description: OpenPGP digital signature