Developing lightweight computation at the DSG edge

Commit 89a96b4a authored by Axel Neumann's avatar Axel Neumann
Browse files

fix broken vlan shit with vconfig rootkit

parent 6bf1bddb
......@@ -4,7 +4,7 @@ mkdir -p 13f # or however you want to name your working directory
cd 13f
git clone ssh://gitosis@qmp.cat:221/qmp.git; cd qmp; git checkout --track origin/autoconfig; cd ..
svn co svn://svn.openwrt.org/openwrt/branches/backfire
svn co -r 27617 svn://svn.openwrt.org/openwrt/branches/backfire
git clone git://gitorious.org/eigennet/packages.git eigennet/packages
......
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=45
STOP=98
start() {
[ -f /proc/net/vlan/config ] && vconfig set_name_type DEV_PLUS_VID_NO_PAD
ifup -a
}
stop() {
echo
}
#!/bin/sh
set -x
busybox vconfig set_name_type DEV_PLUS_VID_NO_PAD
busybox vconfig $@
set +x
......@@ -16,8 +16,8 @@ configure() {
echo "[Configuring networking]"
. $QMP_DIR/qmp_functions.sh
qmp_configure
/etc/init.d/qmp-fix-vlan start
# /etc/init.d/network restart
# /etc/init.d/qmp-fix-vlan start
/etc/init.d/network restart
# ifup -a
/etc/init.d/bmx6 restart
touch "$CONTROL_FILE"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment