-bash 的問題 - Linux

By Mason
at 2008-07-25T17:14
at 2008-07-25T17:14
Table of Contents
請問各位大大~~~
小弟寫了一個shell
#!/bin/sh
#!/bin/bash
set env
. ./setenv
#
# 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
mount --bind /var/www/html/cal /home/aaaa
在command 模式下執行ok
但是以shell 執行時卻出現
-bash: rc.local: command not found
請問還有什麼要設定的,謝謝您的回答
--
小弟寫了一個shell
#!/bin/sh
#!/bin/bash
set env
. ./setenv
#
# 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
mount --bind /var/www/html/cal /home/aaaa
在command 模式下執行ok
但是以shell 執行時卻出現
-bash: rc.local: command not found
請問還有什麼要設定的,謝謝您的回答
--
Tags:
Linux
All Comments

By Kristin
at 2008-07-28T08:03
at 2008-07-28T08:03
Related Posts
Ubuntu 8.04 桌面磁碟機弄不掉

By Kumar
at 2008-07-25T15:31
at 2008-07-25T15:31
有關vsftpd設定問題

By Queena
at 2008-07-25T15:10
at 2008-07-25T15:10
samba問題

By Delia
at 2008-07-25T14:55
at 2008-07-25T14:55
linux 支援問題

By Emily
at 2008-07-25T11:48
at 2008-07-25T11:48
可愛的賽車遊戲

By Yedda
at 2008-07-25T11:35
at 2008-07-25T11:35