RT-IPC_camera/komod/nfs/loadnfs.sh

22 lines
406 B
Bash

#tftp -g -r lockd.ko 192.168.0.9
#tftp -g -r nfs.ko 192.168.0.9
#tftp -g -r sunrpc.ko 192.168.0.9
#tftp -g -r loadnfs.sh 192.168.0.9
insmod grace.ko
insmod sunrpc.ko
insmod lockd.ko
insmod nfs.ko
insmod nfsv3.ko
if [ "$1"Z == "Z" ]
then
echo "spec username"
exit 1
else
RDIR=192.168.0.99:/home/$1
LDIR=/home/$1
mkdir -p $LDIR
fi
mount -t nfs -o nolock -o tcp -o rsize=32768,wsize=32768 $RDIR $LDIR