From 3ac1acb9ea70080aaaf49ae211835f057e60eefa Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 25 May 2004 04:32:27 +0000 Subject: Initial revision git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../target_skeleton/usr/share/terminfo/a/ansi | Bin 0 -> 1450 bytes .../target_skeleton/usr/share/terminfo/d/dumb | Bin 0 -> 308 bytes .../target_skeleton/usr/share/terminfo/l/linux | Bin 0 -> 1551 bytes .../target_skeleton/usr/share/terminfo/r/rxvt | Bin 0 -> 1627 bytes .../target_skeleton/usr/share/terminfo/s/screen | Bin 0 -> 1318 bytes .../target_skeleton/usr/share/terminfo/s/screen-w | Bin 0 -> 1334 bytes .../target_skeleton/usr/share/terminfo/s/sun | Bin 0 -> 1019 bytes .../target_skeleton/usr/share/terminfo/v/vt100 | Bin 0 -> 1143 bytes .../target_skeleton/usr/share/terminfo/v/vt220 | Bin 0 -> 975 bytes .../target_skeleton/usr/share/terminfo/v/vt52 | Bin 0 -> 461 bytes .../target_skeleton/usr/share/terminfo/x/xterm | Bin 0 -> 1366 bytes .../usr/share/terminfo/x/xterm-xfree86 | Bin 0 -> 1840 bytes .../usr/share/udhcpc/default.script | 39 +++++++++++++++++++++ 13 files changed, 39 insertions(+) create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/a/ansi create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/d/dumb create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/l/linux create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/r/rxvt create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen-w create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/sun create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt100 create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt220 create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt52 create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm create mode 100644 obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm-xfree86 create mode 100755 obsolete-buildroot/sources/target_skeleton/usr/share/udhcpc/default.script (limited to 'obsolete-buildroot/sources/target_skeleton/usr') diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/a/ansi b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/a/ansi new file mode 100644 index 000000000..d1e14008c Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/a/ansi differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/d/dumb b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/d/dumb new file mode 100644 index 000000000..ffdc8acf3 Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/d/dumb differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/l/linux b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/l/linux new file mode 100644 index 000000000..e9ec115d5 Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/l/linux differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/r/rxvt b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/r/rxvt new file mode 100644 index 000000000..ba6987a1a Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/r/rxvt differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen new file mode 100644 index 000000000..8f4206c81 Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen-w b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen-w new file mode 100644 index 000000000..965601433 Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen-w differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/sun b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/sun new file mode 100644 index 000000000..47c0d66fa Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/sun differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt100 b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt100 new file mode 100644 index 000000000..5cc9a88bb Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt100 differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt220 b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt220 new file mode 100644 index 000000000..cefb7b358 Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt220 differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt52 b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt52 new file mode 100644 index 000000000..d55932876 Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt52 differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm new file mode 100644 index 000000000..89da67d08 Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm-xfree86 b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm-xfree86 new file mode 100644 index 000000000..eeac9d8d3 Binary files /dev/null and b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm-xfree86 differ diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/udhcpc/default.script b/obsolete-buildroot/sources/target_skeleton/usr/share/udhcpc/default.script new file mode 100755 index 000000000..a52a7f812 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/udhcpc/default.script @@ -0,0 +1,39 @@ +#!/bin/sh + +# udhcpc script edited by Tim Riker + +[ -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 -- cgit v1.2.3