diff options
Diffstat (limited to 'target/generic/target_skeleton/usr/share')
13 files changed, 39 insertions, 0 deletions
diff --git a/target/generic/target_skeleton/usr/share/terminfo/a/ansi b/target/generic/target_skeleton/usr/share/terminfo/a/ansi Binary files differnew file mode 100644 index 000000000..3884faec4 --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/a/ansi diff --git a/target/generic/target_skeleton/usr/share/terminfo/d/dumb b/target/generic/target_skeleton/usr/share/terminfo/d/dumb Binary files differnew file mode 100644 index 000000000..fd4091a99 --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/d/dumb diff --git a/target/generic/target_skeleton/usr/share/terminfo/l/linux b/target/generic/target_skeleton/usr/share/terminfo/l/linux Binary files differnew file mode 100644 index 000000000..7f5844cef --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/l/linux diff --git a/target/generic/target_skeleton/usr/share/terminfo/r/rxvt b/target/generic/target_skeleton/usr/share/terminfo/r/rxvt Binary files differnew file mode 100644 index 000000000..359465fea --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/r/rxvt diff --git a/target/generic/target_skeleton/usr/share/terminfo/s/screen b/target/generic/target_skeleton/usr/share/terminfo/s/screen Binary files differnew file mode 100644 index 000000000..b8377500a --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/s/screen diff --git a/target/generic/target_skeleton/usr/share/terminfo/s/screen-w b/target/generic/target_skeleton/usr/share/terminfo/s/screen-w Binary files differnew file mode 100644 index 000000000..8533897b9 --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/s/screen-w diff --git a/target/generic/target_skeleton/usr/share/terminfo/s/sun b/target/generic/target_skeleton/usr/share/terminfo/s/sun Binary files differnew file mode 100644 index 000000000..77aaa3a95 --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/s/sun diff --git a/target/generic/target_skeleton/usr/share/terminfo/v/vt100 b/target/generic/target_skeleton/usr/share/terminfo/v/vt100 Binary files differnew file mode 100644 index 000000000..647ca5c13 --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/v/vt100 diff --git a/target/generic/target_skeleton/usr/share/terminfo/v/vt220 b/target/generic/target_skeleton/usr/share/terminfo/v/vt220 Binary files differnew file mode 100644 index 000000000..f10553acd --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/v/vt220 diff --git a/target/generic/target_skeleton/usr/share/terminfo/v/vt52 b/target/generic/target_skeleton/usr/share/terminfo/v/vt52 Binary files differnew file mode 100644 index 000000000..61a8ad04d --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/v/vt52 diff --git a/target/generic/target_skeleton/usr/share/terminfo/x/xterm b/target/generic/target_skeleton/usr/share/terminfo/x/xterm Binary files differnew file mode 100644 index 000000000..310a7fb62 --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/x/xterm diff --git a/target/generic/target_skeleton/usr/share/terminfo/x/xterm-xfree86 b/target/generic/target_skeleton/usr/share/terminfo/x/xterm-xfree86 Binary files differnew file mode 100644 index 000000000..e4d9966c7 --- /dev/null +++ b/target/generic/target_skeleton/usr/share/terminfo/x/xterm-xfree86 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 <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 |