From 2b7460e3623308cb7d7b548b4d1340dcb024eabe Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 17 Feb 2005 17:17:48 +0000 Subject: Move stuff around --- .../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 -> 1552 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 -> 462 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 target/generic/target_skeleton/usr/share/terminfo/a/ansi create mode 100644 target/generic/target_skeleton/usr/share/terminfo/d/dumb create mode 100644 target/generic/target_skeleton/usr/share/terminfo/l/linux create mode 100644 target/generic/target_skeleton/usr/share/terminfo/r/rxvt create mode 100644 target/generic/target_skeleton/usr/share/terminfo/s/screen create mode 100644 target/generic/target_skeleton/usr/share/terminfo/s/screen-w create mode 100644 target/generic/target_skeleton/usr/share/terminfo/s/sun create mode 100644 target/generic/target_skeleton/usr/share/terminfo/v/vt100 create mode 100644 target/generic/target_skeleton/usr/share/terminfo/v/vt220 create mode 100644 target/generic/target_skeleton/usr/share/terminfo/v/vt52 create mode 100644 target/generic/target_skeleton/usr/share/terminfo/x/xterm create mode 100644 target/generic/target_skeleton/usr/share/terminfo/x/xterm-xfree86 create mode 100755 target/generic/target_skeleton/usr/share/udhcpc/default.script (limited to 'target/generic/target_skeleton/usr') diff --git a/target/generic/target_skeleton/usr/share/terminfo/a/ansi b/target/generic/target_skeleton/usr/share/terminfo/a/ansi new file mode 100644 index 000000000..3884faec4 Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/a/ansi differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/d/dumb b/target/generic/target_skeleton/usr/share/terminfo/d/dumb new file mode 100644 index 000000000..fd4091a99 Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/d/dumb differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/l/linux b/target/generic/target_skeleton/usr/share/terminfo/l/linux new file mode 100644 index 000000000..7f5844cef Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/l/linux differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/r/rxvt b/target/generic/target_skeleton/usr/share/terminfo/r/rxvt new file mode 100644 index 000000000..359465fea Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/r/rxvt differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/s/screen b/target/generic/target_skeleton/usr/share/terminfo/s/screen new file mode 100644 index 000000000..b8377500a Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/s/screen differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/s/screen-w b/target/generic/target_skeleton/usr/share/terminfo/s/screen-w new file mode 100644 index 000000000..8533897b9 Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/s/screen-w differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/s/sun b/target/generic/target_skeleton/usr/share/terminfo/s/sun new file mode 100644 index 000000000..77aaa3a95 Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/s/sun differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/v/vt100 b/target/generic/target_skeleton/usr/share/terminfo/v/vt100 new file mode 100644 index 000000000..647ca5c13 Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/v/vt100 differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/v/vt220 b/target/generic/target_skeleton/usr/share/terminfo/v/vt220 new file mode 100644 index 000000000..f10553acd Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/v/vt220 differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/v/vt52 b/target/generic/target_skeleton/usr/share/terminfo/v/vt52 new file mode 100644 index 000000000..61a8ad04d Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/v/vt52 differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/x/xterm b/target/generic/target_skeleton/usr/share/terminfo/x/xterm new file mode 100644 index 000000000..310a7fb62 Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/x/xterm differ diff --git a/target/generic/target_skeleton/usr/share/terminfo/x/xterm-xfree86 b/target/generic/target_skeleton/usr/share/terminfo/x/xterm-xfree86 new file mode 100644 index 000000000..e4d9966c7 Binary files /dev/null and b/target/generic/target_skeleton/usr/share/terminfo/x/xterm-xfree86 differ diff --git a/target/generic/target_skeleton/usr/share/udhcpc/default.script b/target/generic/target_skeleton/usr/share/udhcpc/default.script new file mode 100755 index 000000000..a52a7f812 --- /dev/null +++ b/target/generic/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