#!/bin/sh if grep -q g_file_storage /proc/modules; then if ! rmmod g_file_storage; then echo "Cannot remove the storage gadget driver!" exit 1 fi fi insmod /mnt/initfs/lib/modules/`uname -r`/g_ether.ko ifconfig usb0 192.168.0.202 up route add default gw 192.168.0.200