]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
network: Rename ports to something like ${ZONE}pX.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Aug 2009 12:08:46 +0000 (14:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Aug 2009 12:08:46 +0000 (14:08 +0200)
Where p stands for port and X is a number.

src/network/hooks/ethernet

index c06615e518dae32f489c3f33b329e93c8ab35172..f4773b0811b13fabc506652575c2e82aa77f4019 100755 (executable)
@@ -18,7 +18,7 @@ HOOK_NAME=ethernet
 HOOK_TYPE=port
 
 function port_name() {
-       echo ${zone}s+
+       echo ${zone}p+
 }
 
 function do_up() {