- 论坛徽章:
- 0
|
我在我的rc.local中写入了三条mount语句为什么只有一条有用?其它就像是没有执行过一样呀?如果在shell下一条条执行是没有问题的。
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/usr/local/apache/bin/apachectl start
mount -t nfs -O nfsvers=3,tcp 10.253.1.103:/data/a /home/a
mount -t nfs -O nfsvers=3,tcp 10.253.1.103:/data/b /home/b
mount -t nfs -O nfsvers=3,tcp 10.253.1.103:/data/c /home/c |
|