summaryrefslogtreecommitdiff
path: root/ifupdown
diff options
context:
space:
mode:
Diffstat (limited to 'ifupdown')
-rw-r--r--ifupdown/ifupdown-0.6.4/busybox.patch20
-rw-r--r--ifupdown/ifupdown-0.6.4/head-tail.patch14
-rw-r--r--ifupdown/ifupdown-0.6.4/init13
-rw-r--r--ifupdown/ifupdown-0.6.4/interfaces2
4 files changed, 49 insertions, 0 deletions
diff --git a/ifupdown/ifupdown-0.6.4/busybox.patch b/ifupdown/ifupdown-0.6.4/busybox.patch
index e69de29bb2..5619ab7c0a 100644
--- a/ifupdown/ifupdown-0.6.4/busybox.patch
+++ b/ifupdown/ifupdown-0.6.4/busybox.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- ifupdown-0.6.4/inet.defn~busybox
++++ ifupdown-0.6.4/inet.defn
+@@ -116,8 +116,8 @@
+ options
+ provider name -- Use /name/ as the provider (from /etc/ppp/peers).
+ up
+- /sbin/start-stop-daemon --start -x /usr/bin/wvdial \
+- -p /var/run/wvdial.%iface% -b -m -- [[ %provider% ]]
++ /sbin/start-stop-daemon -S -x /usr/bin/wvdial \
++ -p /var/run/wvdial.%iface% -- [[ %provider% ]]
+ down
+- /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \
+- -p /var/run/wvdial.%iface% -s 2
++ /sbin/start-stop-daemon -X -x /usr/bin/wvdial \
++ -p /var/run/wvdial.%iface%
diff --git a/ifupdown/ifupdown-0.6.4/head-tail.patch b/ifupdown/ifupdown-0.6.4/head-tail.patch
index e69de29bb2..a86a25d2fb 100644
--- a/ifupdown/ifupdown-0.6.4/head-tail.patch
+++ b/ifupdown/ifupdown-0.6.4/head-tail.patch
@@ -0,0 +1,14 @@
+--- ifupdown-0.6.4/Makefile~ 2000-11-18 07:12:01.000000000 +0000
++++ ifupdown-0.6.4/Makefile 2004-04-24 11:06:58.000000000 +0100
+@@ -46,9 +46,9 @@
+ LINE=$$(grep -n '^##ADDRESSFAM##$$' $< | sed 's/:.*//g'); \
+ WC=`wc -l < $<`; \
+ ( \
+- head -$$(($$LINE - 1)) $<; \
++ head -n $$(($$LINE - 1)) $<; \
+ cat $(MAN); \
+- tail -$$(($$WC - $$LINE)) $<; \
++ tail -n $$(($$WC - $$LINE)) $<; \
+ ) > $@
+
+ ifdown.8: ifup.8
diff --git a/ifupdown/ifupdown-0.6.4/init b/ifupdown/ifupdown-0.6.4/init
index e69de29bb2..d258d51ff4 100644
--- a/ifupdown/ifupdown-0.6.4/init
+++ b/ifupdown/ifupdown-0.6.4/init
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+case "$1" in
+ start|restart)
+ if [ -e /etc/network/ifstate ]; then
+ echo -n "Cleaning: /etc/network/ifstate"
+ echo -n >/etc/network/ifstate
+ echo "."
+ fi
+ ;;
+ stop|reload|force-reload)
+ ;;
+esac
diff --git a/ifupdown/ifupdown-0.6.4/interfaces b/ifupdown/ifupdown-0.6.4/interfaces
index e69de29bb2..f1bd92ed2b 100644
--- a/ifupdown/ifupdown-0.6.4/interfaces
+++ b/ifupdown/ifupdown-0.6.4/interfaces
@@ -0,0 +1,2 @@
+auto lo
+iface lo inet loopback