W odpowiedzi na wiadomość z dnia 23.09.2012 11:21, od LordBlick:
It allows starting empty pan0...panN interface for allowing any dhcpd
daemon to serve on it - bnepX appears as part of panX bridge. This patch
has no interference on other iterfaces, just other bridge name added.
Withoit it, at every update I need to patch it...
Please test and apply. Any comments also welcome.
I'm sorry, previous file is incorect, reverse patch. This mail
attachment is correct.
Also its need to add some symlinks:
# ln -s ifup-br /lib/rc-scripts/ifup-pan
# ln -s ifdown-br /lib/rc-scripts/ifdown-pan
--
Best Regards,
Lord Blick
--- /etc/rc.d/init.d/network 2012-09-23 10:37:47.000000000 +0200
+++ /etc/rc.d/init.d/network.oryg 2012-04-04 08:25:55.000000000 +0200
@@ -144,7 +144,7 @@
interfaces_boot=`
for i in $ifcfg_files; do
case ${i##*/} in
-
ifcfg-lo|ifcfg-sit*|ifcfg-atm*|ifcfg-lec*|ifcfg-nas*|ifcfg-br*|ifcfg-macvlan*|ifcfg-macvtap*|ifcfg-*.*)
continue ;;
+
ifcfg-lo|ifcfg-sit*|ifcfg-atm*|ifcfg-lec*|ifcfg-nas*|ifcfg-br*|ifcfg-pan*|ifcfg-macvlan*|ifcfg-macvtap*|ifcfg-*.*)
continue ;;
esac
ONBOOT=""; USERS=""; . "$i" 2>/dev/null
[ ${USERS:-no} != no ] && continue
@@ -167,7 +167,7 @@
interfaces_br_boot=`
for i in $ifcfg_files; do
case ${i##*/} in
- ifcfg-br*) ;;
+ ifcfg-br*|ifcfg-pan*) ;;
*) continue ;;
esac
ONBOOT=""; USERS=""; . "$i" 2>/dev/null
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en