diff options
author | Patrick Simianer <p@simianer.de> | 2015-01-19 18:30:05 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-01-19 18:30:05 +0100 |
commit | e6d536e1b9c91a167eb79f288a17496712a330f2 (patch) | |
tree | 027decf25e5dbc6b8079b66a28ce64d57b979320 /bin | |
parent | 78e0430e8e5973f34e82ab4a97ab2dd83f27ed01 (diff) |
simplified
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/busybox | bin | 2057504 -> 2304000 bytes | |||
-rwxr-xr-x | bin/ifup | 7 | ||||
-rwxr-xr-x | bin/resume | bin | 1317856 -> 0 bytes | |||
l--------- | bin/sh | 1 | ||||
-rwxr-xr-x | bin/udhcpc.script | 47 | ||||
l--------- | bin/vgchange | 1 |
6 files changed, 0 insertions, 56 deletions
diff --git a/bin/busybox b/bin/busybox Binary files differindex 3d56a2d..8919e12 100755 --- a/bin/busybox +++ b/bin/busybox diff --git a/bin/ifup b/bin/ifup deleted file mode 100755 index 2b60f1c..0000000 --- a/bin/ifup +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -DEV=$1 - -ifconfig $DEV up -udhcpc -t 5 -q -s /bin/udhcpc.script - diff --git a/bin/resume b/bin/resume Binary files differdeleted file mode 100755 index 977924b..0000000 --- a/bin/resume +++ /dev/null @@ -1 +0,0 @@ -busybox
\ No newline at end of file diff --git a/bin/udhcpc.script b/bin/udhcpc.script deleted file mode 100755 index 40ee738..0000000 --- a/bin/udhcpc.script +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# udhcpc script edited by Tim Riker <Tim@Rikers.org> - -RESOLV_CONF="/etc/resolv.conf" - -[ -n "$1" ] || { echo "Error: should be called from udhcpc"; exit 1; } - -NETMASK="" -[ -n "$subnet" ] && NETMASK="netmask $subnet" -BROADCAST="broadcast +" -[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" - -case "$1" in - deconfig) - echo "Setting IP address 0.0.0.0 on $interface" - ifconfig $interface 0.0.0.0 - ;; - - renew|bound) - echo "Setting IP address $ip on $interface" - ifconfig $interface $ip $NETMASK $BROADCAST - - if [ -n "$router" ] ; then - echo "Deleting routers" - while route del default gw 0.0.0.0 dev $interface ; do - : - done - - metric=0 - for i in $router ; do - echo "Adding router $i" - route add default gw $i dev $interface metric $((metric++)) - done - fi - - echo "Recreating $RESOLV_CONF" - echo -n > $RESOLV_CONF-$$ - [ -n "$domain" ] && echo "search $domain" >> $RESOLV_CONF-$$ - for i in $dns ; do - echo " Adding DNS server $i" - echo "nameserver $i" >> $RESOLV_CONF-$$ - done - mv $RESOLV_CONF-$$ $RESOLV_CONF - ;; -esac - -exit 0 diff --git a/bin/vgchange b/bin/vgchange deleted file mode 120000 index 9428656..0000000 --- a/bin/vgchange +++ /dev/null @@ -1 +0,0 @@ -lvm
\ No newline at end of file |