mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 02:00:04 +00:00
b2f192faab
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
20 lines
202 B
Bash
Executable File
20 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$1" in
|
|
start)
|
|
/sbin/depmod -a
|
|
/sbin/modprobe g_ether
|
|
ifconfig usb0 192.168.1.120
|
|
;;
|
|
|
|
stop)
|
|
|
|
;;
|
|
|
|
*)
|
|
echo "usage: $0 { start | stop }"
|
|
;;
|
|
esac
|
|
|
|
exit 0
|