summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/devimage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-02-16 00:20:31 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-02-16 00:20:31 +0000
commit122a4440127e4015df191e4204fd05e132cba3eb (patch)
treedb42aeff44f6146169f7ea76b04cd842e481d06d /packages/initrdscripts/devimage
parent610ba5eb16e52832579366ac404ba40d8a947561 (diff)
devimage 0.1: Up a usb0 on load, now that we're modular.
Diffstat (limited to 'packages/initrdscripts/devimage')
-rw-r--r--packages/initrdscripts/devimage/devimage.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/initrdscripts/devimage/devimage.sh b/packages/initrdscripts/devimage/devimage.sh
index e85debf245..8a264ed33d 100644
--- a/packages/initrdscripts/devimage/devimage.sh
+++ b/packages/initrdscripts/devimage/devimage.sh
@@ -7,6 +7,11 @@ mount -t sysfs sysfs /sys
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
+modprobe g_ether
+ifconfig usb0 192.168.2.202
+
+export PATH=$PATH:/usr/sbin
+
/usr/sbin/dropbear -E
/bin/sh