From: <abe...@us...> - 2017-05-24 12:52:52
|
Revision: 8330 http://sourceforge.net/p/astlinux/code/8330 Author: abelbeck Date: 2017-05-24 12:52:50 +0000 (Wed, 24 May 2017) Log Message: ----------- core network, PPPoE bridging, use 'sysctl' instead of poking to /proc/ Modified Paths: -------------- branches/1.0/project/astlinux/target_skeleton/etc/init.d/network Modified: branches/1.0/project/astlinux/target_skeleton/etc/init.d/network =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/init.d/network 2017-05-23 23:41:11 UTC (rev 8329) +++ branches/1.0/project/astlinux/target_skeleton/etc/init.d/network 2017-05-24 12:52:50 UTC (rev 8330) @@ -516,8 +516,8 @@ br[012]) ip link set dev $PPPOEIF up # because bridging does weird and unpleasant things to PPPoE packets - echo "0" > /proc/sys/net/bridge/bridge-nf-call-iptables - echo "0" > /proc/sys/net/bridge/bridge-nf-filter-pppoe-tagged + sysctl -w net/bridge/bridge-nf-call-iptables=0 >/dev/null + sysctl -w net/bridge/bridge-nf-filter-pppoe-tagged=0 >/dev/null ;; esac This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |