1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 18:10:41 +02:00

switch the br2684 default to routed mode instead of bridged mode, as it's more common

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12277 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-08-11 13:02:44 +00:00
parent 9a935f099a
commit 5d8f115d9b

View File

@ -20,8 +20,8 @@ start_daemon() {
*) encaps=0;; *) encaps=0;;
esac esac
case "$payload" in case "$payload" in
1|bridged) payload=1;; 0|routed) payload=0;;
*) payload=0;; *) payload=1;;
esac esac
br2684ctl -b -c "$unit" -e "$encaps" -p "$payload" -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}" br2684ctl -b -c "$unit" -e "$encaps" -p "$payload" -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}"
} }