summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/usr
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-01-16 11:43:02 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-01-16 11:43:02 +0000
commit3d80c3754b3421428b47f89ce26f07adf10e7501 (patch)
tree986493f1905c17f3a385831d60709492c4c5ed7a /openwrt/target/default/target_skeleton/usr
parentf93f63a886f8fb0adcbc15fa0630e6ab9e7adc02 (diff)
Initial revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton/usr')
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/a/ansibin0 -> 1450 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/d/dumbbin0 -> 308 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/l/linuxbin0 -> 1551 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/r/rxvtbin0 -> 1627 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/s/screenbin0 -> 1318 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/s/screen-wbin0 -> 1334 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/s/sunbin0 -> 1019 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt100bin0 -> 1143 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt220bin0 -> 975 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt52bin0 -> 461 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/x/xtermbin0 -> 1366 bytes
-rw-r--r--openwrt/target/default/target_skeleton/usr/share/terminfo/x/xterm-xfree86bin0 -> 1840 bytes
-rwxr-xr-xopenwrt/target/default/target_skeleton/usr/share/udhcpc/default.script39
13 files changed, 39 insertions, 0 deletions
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/a/ansi b/openwrt/target/default/target_skeleton/usr/share/terminfo/a/ansi
new file mode 100644
index 000000000..d1e14008c
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/a/ansi
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/d/dumb b/openwrt/target/default/target_skeleton/usr/share/terminfo/d/dumb
new file mode 100644
index 000000000..ffdc8acf3
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/d/dumb
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/l/linux b/openwrt/target/default/target_skeleton/usr/share/terminfo/l/linux
new file mode 100644
index 000000000..e9ec115d5
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/l/linux
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/r/rxvt b/openwrt/target/default/target_skeleton/usr/share/terminfo/r/rxvt
new file mode 100644
index 000000000..ba6987a1a
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/r/rxvt
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/s/screen b/openwrt/target/default/target_skeleton/usr/share/terminfo/s/screen
new file mode 100644
index 000000000..8f4206c81
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/s/screen
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/s/screen-w b/openwrt/target/default/target_skeleton/usr/share/terminfo/s/screen-w
new file mode 100644
index 000000000..965601433
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/s/screen-w
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/s/sun b/openwrt/target/default/target_skeleton/usr/share/terminfo/s/sun
new file mode 100644
index 000000000..47c0d66fa
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/s/sun
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt100 b/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt100
new file mode 100644
index 000000000..5cc9a88bb
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt100
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt220 b/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt220
new file mode 100644
index 000000000..cefb7b358
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt220
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt52 b/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt52
new file mode 100644
index 000000000..d55932876
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/v/vt52
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/x/xterm b/openwrt/target/default/target_skeleton/usr/share/terminfo/x/xterm
new file mode 100644
index 000000000..89da67d08
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/x/xterm
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/terminfo/x/xterm-xfree86 b/openwrt/target/default/target_skeleton/usr/share/terminfo/x/xterm-xfree86
new file mode 100644
index 000000000..eeac9d8d3
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/terminfo/x/xterm-xfree86
Binary files differ
diff --git a/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script b/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script
new file mode 100755
index 000000000..a52a7f812
--- /dev/null
+++ b/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# udhcpc script edited by Tim Riker <Tim@Rikers.org>
+
+[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1
+
+RESOLV_CONF="/etc/resolv.conf"
+[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
+[ -n "$subnet" ] && NETMASK="netmask $subnet"
+
+case "$1" in
+ deconfig)
+ /sbin/ifconfig $interface 0.0.0.0
+ ;;
+
+ renew|bound)
+ /sbin/ifconfig $interface $ip $BROADCAST $NETMASK
+
+ if [ -n "$router" ] ; then
+ echo "deleting routers"
+ while route del default gw 0.0.0.0 dev $interface ; do
+ :
+ done
+
+ for i in $router ; do
+ route add default gw $i dev $interface
+ done
+ fi
+
+ echo -n > $RESOLV_CONF
+ [ -n "$domain" ] && echo search $domain >> $RESOLV_CONF
+ for i in $dns ; do
+ echo adding dns $i
+ echo nameserver $i >> $RESOLV_CONF
+ done
+ ;;
+esac
+
+exit 0