summaryrefslogtreecommitdiff
path: root/packages/wrt/wrt-init
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/wrt/wrt-init
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/wrt/wrt-init')
-rw-r--r--packages/wrt/wrt-init/.mtn2git_empty0
-rw-r--r--packages/wrt/wrt-init/finished4
-rwxr-xr-x[-rw-r--r--]packages/wrt/wrt-init/mount0
-rwxr-xr-x[-rw-r--r--]packages/wrt/wrt-init/wrtboot0
-rw-r--r--packages/wrt/wrt-init/wrtvlans8
5 files changed, 12 insertions, 0 deletions
diff --git a/packages/wrt/wrt-init/.mtn2git_empty b/packages/wrt/wrt-init/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wrt/wrt-init/.mtn2git_empty
diff --git a/packages/wrt/wrt-init/finished b/packages/wrt/wrt-init/finished
index e69de29bb2..de85661f32 100644
--- a/packages/wrt/wrt-init/finished
+++ b/packages/wrt/wrt-init/finished
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# change LEDs
+echo 0x01 > /proc/sys/diag \ No newline at end of file
diff --git a/packages/wrt/wrt-init/mount b/packages/wrt/wrt-init/mount
index 539dbfad59..539dbfad59 100644..100755
--- a/packages/wrt/wrt-init/mount
+++ b/packages/wrt/wrt-init/mount
diff --git a/packages/wrt/wrt-init/wrtboot b/packages/wrt/wrt-init/wrtboot
index c03d53f9bc..c03d53f9bc 100644..100755
--- a/packages/wrt/wrt-init/wrtboot
+++ b/packages/wrt/wrt-init/wrtboot
diff --git a/packages/wrt/wrt-init/wrtvlans b/packages/wrt/wrt-init/wrtvlans
index e69de29bb2..c5fd31d906 100644
--- a/packages/wrt/wrt-init/wrtvlans
+++ b/packages/wrt/wrt-init/wrtvlans
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# the ethernet switch distinguishes the WAN port and the 4 LAN ports by VLAN tags
+# this might not yet be correct for all devices, only checked on the WRT54G
+vconfig set_name_type VLAN_PLUS_VID_NO_PAD
+ifconfig eth0 up
+vconfig add eth0 0
+vconfig add eth0 1