[問題] -bash 的問題
請問各位大大~~~
小弟寫了一個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
→
07/27 09:10, , 1F
07/27 09:10, 1F
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章