1. 首页
  2. 课程学习
  3. 嵌入式
  4. mount_nfs.sh

mount_nfs.sh

上传者: 2020-07-29 07:20:26上传 SH文件 892B 热度 15次
#!/bin/sh#auto get ip#udhcpc#config ip netmask gw#ifconfig eth0 172.20.223.123 netmask 255.255.255.0#route add default gw 172.20.223.254serverip=$1serverpath=$2localpath=$3echo "usage:./mount_nfs serverip serverpath localpath"if [ -z $serverip ]; then echo "serverip is NULL"
用户评论