#!/bin/sh
. /sbin/vigorcode.sh
opkg -dest ram install "$PKG_SERVER"kmod-fs-nfs-common_2.6.23.17-vsc75xx-1_arm.ipk
opkg -dest ram install "$PKG_SERVER"kmod-fs-nfs_2.6.23.17-vsc75xx-1_arm.ipk

insmod /tmp/opkg-install/lib/modules/2.6.23.17/sunrpc.ko
insmod /tmp/opkg-install/lib/modules/2.6.23.17/lockd.ko
insmod /tmp/opkg-install/lib/modules/2.6.23.17/nfs.ko

opkg --force-depends -dest ram install "$PKG_SERVER"nfs-utils_1.1.2-1_arm.ipk
ln -s /tmp/opkg-install/sbin/mount.nfs /sbin/mount.nfs

echo "now you can do nfs client by the following command:"
echo "#mount.nfs 172.17.3.55:/home/jimmy/2130 /mnt -w -n -o nolock"

