diff options
author | Mike Baker <mbm@openwrt.org> | 2004-05-25 04:32:27 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2004-05-25 04:32:27 +0000 |
commit | e5f9af658d60e0a3a1eb6cc56cbabce4ea7e8c98 (patch) | |
tree | a2e08d2be3224409a033d25af8861d9853e72de7 /obsolete-buildroot/sources/target_skeleton/usr/share | |
parent | edab25e640eee1fd2ecc9d4dee916b5164cc35f8 (diff) | |
download | mtk-20170518-e5f9af658d60e0a3a1eb6cc56cbabce4ea7e8c98.zip mtk-20170518-e5f9af658d60e0a3a1eb6cc56cbabce4ea7e8c98.tar.gz mtk-20170518-e5f9af658d60e0a3a1eb6cc56cbabce4ea7e8c98.tar.bz2 |
Initial revision
SVN-Revision: 30
Diffstat (limited to 'obsolete-buildroot/sources/target_skeleton/usr/share')
13 files changed, 39 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/a/ansi b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/a/ansi Binary files differnew file mode 100644 index 0000000..d1e1400 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/a/ansi diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/d/dumb b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/d/dumb Binary files differnew file mode 100644 index 0000000..ffdc8ac --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/d/dumb diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/l/linux b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/l/linux Binary files differnew file mode 100644 index 0000000..e9ec115 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/l/linux diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/r/rxvt b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/r/rxvt Binary files differnew file mode 100644 index 0000000..ba6987a --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/r/rxvt diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen Binary files differnew file mode 100644 index 0000000..8f4206c --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen 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 Binary files differnew file mode 100644 index 0000000..9656014 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/screen-w diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/sun b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/sun Binary files differnew file mode 100644 index 0000000..47c0d66 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/s/sun diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt100 b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt100 Binary files differnew file mode 100644 index 0000000..5cc9a88 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt100 diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt220 b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt220 Binary files differnew file mode 100644 index 0000000..cefb7b3 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt220 diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt52 b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt52 Binary files differnew file mode 100644 index 0000000..d559328 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/v/vt52 diff --git a/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm Binary files differnew file mode 100644 index 0000000..89da67d --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm 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 Binary files differnew file mode 100644 index 0000000..eeac9d8 --- /dev/null +++ b/obsolete-buildroot/sources/target_skeleton/usr/share/terminfo/x/xterm-xfree86 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 0000000..a52a7f8 --- /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 <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 |