summaryrefslogtreecommitdiff
path: root/recipes/initrdscripts/devimage/devimage.sh
blob: 8a264ed33d8f56a0ef0163148d0134345aedf665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

mkdir /proc
mount -t proc proc /proc
mkdir /sys
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