回文章列表
作者b8888.bbs@ptt.cc (b8888) 看板: linux
標題[問題] -bash 的問題
時間批踢踢實業 (2008/07/25 Fri 17:14:54)
請問各位大大~~~
小弟寫了一個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

請問還有什麼要設定的,謝謝您的回答




--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 163.29.241.8
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻