rc-scripts/trunk/rc.d/init.d/network
undefine
cvs at pld-linux.org
Fri Jul 22 00:35:11 CEST 2005
Author: undefine
Date: Fri Jul 22 00:35:05 2005
New Revision: 6226
Modified:
rc-scripts/trunk/rc.d/init.d/network
Log:
- first up bridge, next tunnels (tunnels can be on bridges)
- first down tunnels, next bridge ;)
Modified: rc-scripts/trunk/rc.d/init.d/network
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/network (original)
+++ rc-scripts/trunk/rc.d/init.d/network Fri Jul 22 00:35:05 2005
@@ -179,15 +179,15 @@
for i in $interfaces_boot $interfaces_vlan_boot $interfaces_sit_boot ; do
run_cmd -a "$(nls 'Bringing up interface %s' "$i")" /sbin/ifup $i boot
done
+
+ for i in $interfaces_br_boot ; do
+ run_cmd -a "$(nls 'Bringing up bridge interface %s' "$i")" /sbin/ifup $i boot
+ done
for i in $tunnels; do
run_cmd -a "$(nls 'Setting tunnel %s' "$i")" /sbin/tnlup $i boot
run_cmd -a "$(nls 'Bringing up tunnel interface %s' "$i")" /sbin/ifup tnlcfg-$i boot
done
-
- for i in $interfaces_br_boot ; do
- run_cmd -a "$(nls 'Bringing up bridge interface %s' "$i")" /sbin/ifup $i boot
- done
network_postinit
@@ -216,15 +216,15 @@
fi
fi
- for i in $interfaces_br_boot ; do
- run_cmd -a "$(nls 'Shutting down bridge interface %s' "$i")" /sbin/ifdown $i boot
- done
-
for i in $tunnels; do
run_cmd -a "$(nls 'Shutting down tunnel interface %s' "$i")" /sbin/ifdown tnlcfg-$i boot
run_cmd -a "$(nls 'Removing tunnel %s' "$i")" /sbin/tnldown $i boot
done
+ for i in $interfaces_br_boot ; do
+ run_cmd -a "$(nls 'Shutting down bridge interface %s' "$i")" /sbin/ifdown $i boot
+ done
+
for i in $interfaces_sit_boot $interfaces_vlan_boot $interfaces_boot ; do
run_cmd -a "$(nls 'Shutting down interface %s' "$i")" /sbin/ifdown $i boot
done
More information about the pld-cvs-commit
mailing list