請問各位大大~~~
小弟寫了一個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
請問還有什麼要設定的,謝謝您的回答
--
All Comments