summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/xscale-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 12:33:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 12:33:06 +0000
commit445b861749781b117ebf7e0f479bcdf88bd9cb98 (patch)
treeaadea6228300fe2a58aa97ab10498237e3523513 /openwrt/package/base-files/xscale-2.6
parent87eac4e652d2d1a6ceb594908e56563fab352175 (diff)
downloadmtk-20170518-445b861749781b117ebf7e0f479bcdf88bd9cb98.zip
mtk-20170518-445b861749781b117ebf7e0f479bcdf88bd9cb98.tar.gz
mtk-20170518-445b861749781b117ebf7e0f479bcdf88bd9cb98.tar.bz2
allow building of kernel-specific stuff in package/ instead of target/linux/package/ and merge target/linux/package/base-files into package/base-files
SVN-Revision: 3855
Diffstat (limited to 'openwrt/package/base-files/xscale-2.6')
-rw-r--r--openwrt/package/base-files/xscale-2.6/etc/config/network5
-rwxr-xr-xopenwrt/package/base-files/xscale-2.6/etc/init.d/S00xscale4
-rwxr-xr-xopenwrt/package/base-files/xscale-2.6/init3
3 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/base-files/xscale-2.6/etc/config/network b/openwrt/package/base-files/xscale-2.6/etc/config/network
new file mode 100644
index 0000000..f60332c
--- /dev/null
+++ b/openwrt/package/base-files/xscale-2.6/etc/config/network
@@ -0,0 +1,5 @@
+# Network configuration file
+
+## LAN configuration
+lan_ifname="eth0"
+lan_proto="dhcp"
diff --git a/openwrt/package/base-files/xscale-2.6/etc/init.d/S00xscale b/openwrt/package/base-files/xscale-2.6/etc/init.d/S00xscale
new file mode 100755
index 0000000..9836de4
--- /dev/null
+++ b/openwrt/package/base-files/xscale-2.6/etc/init.d/S00xscale
@@ -0,0 +1,4 @@
+#!/bin/sh
+mount none /proc -t proc
+mount_root failsafe
+mount -o remount,rw /dev/root /
diff --git a/openwrt/package/base-files/xscale-2.6/init b/openwrt/package/base-files/xscale-2.6/init
new file mode 100755
index 0000000..8ca48a0
--- /dev/null
+++ b/openwrt/package/base-files/xscale-2.6/init
@@ -0,0 +1,3 @@
+#!/bin/ash
+mount none /dev -t devfs
+exec /bin/busybox init